Hi All,
I've got a potentially very dumb question.
The TM1 model at my current client is 15Gb big if I check the total memory usage with the performance monitor in TM1.
On the other hand the tm1sd windows service uses almost 21Gb RAM. I thought they should be more or less the same.
Can anyone tell me what is the cause of this difference? Currently we are close to reach the total physical memory installed in our TM1 server, that's why it's quite crucial to reduce the RAM usage of TM1.
I am not sure whether it's relevant but we have:
- parallel interaction switched on
- increased the maximum paging file size to 30Gb to support spreading on big cubes
- also increased slightly the VMM attribute of some cubes to improve query time (helped big time)
- there is sufficient disk space on the TM1 server
- feeders look OK
Thanks,
Istvan
TM1 memory usage
-
- MVP
- Posts: 600
- Joined: Wed Aug 17, 2011 1:19 pm
- OLAP Product: TM1
- Version: 9.5.2 10.1 10.2
- Excel Version: 2003 2007
- Location: York, UK
Re: TM1 memory usage
Just for interest Istvan, how many raw detail and how many calculated (including consolidated) cells do you have in the model?
-
- MVP
- Posts: 2836
- Joined: Tue Feb 16, 2010 2:39 pm
- OLAP Product: TM1, Palo
- Version: Beginning of time thru 10.2
- Excel Version: 2003-2007-2010-2013
- Location: Atlanta, GA
- Contact:
Re: TM1 memory usage
If you are running out of memory all you can really do is cut down the size of your model or add more RAM to the box, if that's an option. You could reduce the VMM setting but I wouldn't recommend doing that. Your'e just experiencing one of the potential drawbacks of an in-memory tool. It happens to the best of us. 

-
- Posts: 3
- Joined: Tue Jun 08, 2010 12:05 pm
- OLAP Product: TM1, Cognos Express, Cognos10
- Version: 9.5.2
- Excel Version: 2003 SP3
Re: TM1 memory usage
Thanks for the help.
I've switched off the parallel interaction parameter out of curiosity and surprisingly the RAM usage went down by 7GB.
I don't quite understand it so I need to go back to the drawing board and read more forum topics about the parallel interaction best practices.
But now I deserve a bottle of quality red wine.
Thanks again
I've switched off the parallel interaction parameter out of curiosity and surprisingly the RAM usage went down by 7GB.
I don't quite understand it so I need to go back to the drawing board and read more forum topics about the parallel interaction best practices.
But now I deserve a bottle of quality red wine.
Thanks again
- Harvey
- Community Contributor
- Posts: 236
- Joined: Mon Aug 04, 2008 4:43 am
- OLAP Product: PA, TM1, CX, Palo
- Version: TM1 8.3 onwards
- Excel Version: 2003 onwards
- Contact:
Re: TM1 memory usage
You say the feeders look ok, but over-feeding is usually the bottleneck of any tm1 model with excessive RAM usage. You may get some improvements changing settings, but if I were you, I'd spend some time looking for suspect feeders.
Take your TM1 experience to the next level - TM1Innovators.net
-
- Posts: 3
- Joined: Tue Jun 08, 2010 12:05 pm
- OLAP Product: TM1, Cognos Express, Cognos10
- Version: 9.5.2
- Excel Version: 2003 SP3
Re: TM1 memory usage
I've already gone through the feeders and made as efficient as possible.
My original problem was that I didn't understand why the tm1sd windows service showed 6GB more RAM usage than the TM1 performance monitor (}StatsByCube cube).
And found it has something to do with parallel interaction, as when it's switched off the memory usage goes down considerably.
My original problem was that I didn't understand why the tm1sd windows service showed 6GB more RAM usage than the TM1 performance monitor (}StatsByCube cube).
And found it has something to do with parallel interaction, as when it's switched off the memory usage goes down considerably.
-
- MVP
- Posts: 352
- Joined: Wed May 14, 2008 1:37 pm
- OLAP Product: TM1
- Version: 2.5 to PA
- Excel Version: Lots
- Location: Sydney
- Contact:
Re: TM1 memory usage
}StatsByCube doesn't include garbage memory. Look at }StatsByServer and I suspect you will find your missing 6GB.
As far as ParallelInterction is concerned, you should expect a server with PI to use up to 30% more RAM than one without it.
As far as ParallelInterction is concerned, you should expect a server with PI to use up to 30% more RAM than one without it.
Andy Key
-
- Community Contributor
- Posts: 125
- Joined: Wed May 28, 2008 1:22 pm
- OLAP Product: TM1, Cognos Express,..
- Version: 9.1.4 FP1
- Excel Version: 2010
- Location: Vienna
- Contact:
Re: TM1 memory usage
2 other hints:
- re-ordering dimensions of the bigger cubes (if the order is not optimized)
- turn maximumcubeloadthreads to 1 (or delete it) and groupscreationlimit to 20 if its higher -- if you don't use these parameters, you don't have to change anything of course.
maximumcubeloadthreads can create tons of garbagememory and a overall high ram useage.
- re-ordering dimensions of the bigger cubes (if the order is not optimized)
- turn maximumcubeloadthreads to 1 (or delete it) and groupscreationlimit to 20 if its higher -- if you don't use these parameters, you don't have to change anything of course.
maximumcubeloadthreads can create tons of garbagememory and a overall high ram useage.