Solution for Browse View OutOfMemory error

Post Reply
John Hammond
Community Contributor
Posts: 300
Joined: Mon Mar 23, 2009 10:50 am
OLAP Product: PAW/PAX 2.0.72 Perspectives
Version: TM1 Server 11.8.003
Excel Version: 365 and 2016
Location: South London

Solution for Browse View OutOfMemory error

Post by John Hammond »

Here's my solution to where you get locked out of your view because you have too many row and column elements - you need to convert to titles especially the large dimensions.

Create a new TI process and paste this into the advanced and prolog. (Nothing else is required)

# ViewTitleDimensionSet(CubeName, ViewName, DimName);

ViewTitleDimensionSet('cbsTrialBalance','vTI ClearOut','dimProject');
ViewTitleDimensionSet('cbsTrialBalance','vTI ClearOut','dimFunction');
ViewTitleDimensionSet('cbsTrialBalance','vTI ClearOut','dimChartOfAccounts');

Modify to fit your view using the view properties window in Architect. Once you convert enough dims to titles you will be able to view.

(Now awaiting someone who knows the easy way!)
David Usherwood
Site Admin
Posts: 1458
Joined: Wed May 28, 2008 9:09 am

Re: Solution for Browse View OutOfMemory error

Post by David Usherwood »

Select 'Export as Ascii File' then adjust the selections until it's manageable.
User avatar
Steve Rowe
Site Admin
Posts: 2455
Joined: Wed May 14, 2008 4:25 pm
OLAP Product: TM1
Version: TM1 v6,v7,v8,v9,v10,v11+PAW
Excel Version: Nearly all of them

Re: Solution for Browse View OutOfMemory error

Post by Steve Rowe »

The easy way subject to system limitations.
In your cfg file.

MaximumViewSize
Optional Sets the maximum amount of memory (in MB) to be allocated when a user accesses a view. If you do not set the MaximumViewSize parameter, the default maximum view size is 100MB on a 32-bit system, and 500 MB on a 64-bit system.
To specify a maximum amount of memory allocation for views, add the following line to Tm1s.cfg:
MaximumViewSize=n
where n represents the amount of memory in MB to be allocated.
Technical Director
www.infocat.co.uk
John Hammond
Community Contributor
Posts: 300
Joined: Mon Mar 23, 2009 10:50 am
OLAP Product: PAW/PAX 2.0.72 Perspectives
Version: TM1 Server 11.8.003
Excel Version: 365 and 2016
Location: South London

Re: Solution for Browse View OutOfMemory error

Post by John Hammond »

Thanks chaps - will give those a try also.

Steve:

Always thought the OutOfMemory limitation was on the client's memory.

What you are implying with the param being in .cfg (ie server level) is that the server builds the view on behalf of the client in its own address space as a separate entity even though it already has the cube loaded.

Is this right?
lotsaram
MVP
Posts: 3698
Joined: Fri Mar 13, 2009 11:14 am
OLAP Product: TableManager1
Version: PA 2.0.x
Excel Version: Office 365
Location: Switzerland

Re: Solution for Browse View OutOfMemory error

Post by lotsaram »

John Hammond wrote:What you are implying with the param being in .cfg (ie server level) is that the server builds the view on behalf of the client in its own address space as a separate entity even though it already has the cube loaded.
When cubes are loaded into memory what is loaded are leaf level values. Consolidated values and rule calculated values are only calculated on demand when requested by a user in a view. The server then caches the calculated values (not just for the user who requested them but for all users) but only until any of the underlying leaf values change. This is why initial rendering of a view can take a while but subsequent view recalculations are much faster (unless there are data changes to the cube in the interim in which case the view must be rebuilt.)
Post Reply