Memory leak in 10.2.1 when using Rule

Post Reply
kingaj12
Posts: 6
Joined: Wed Nov 20, 2013 3:26 pm
OLAP Product: TM1
Version: 10.2
Excel Version: 14.0

Memory leak in 10.2.1 when using Rule

Post by kingaj12 »

Hi

This occurs in both Performance Modeler and Server Explorer/Architect.

I have a sparse cube (only 250 rows) with 7 dimensions and 5 measures. When I add a rule to calculate a value for one of the measures and refresh the view I get a memory leak.

In the stderr log there are a number of Class Not Found reports of the type:
Dec 05, 2013 12:42:28 PM org.apache.catalina.core.StandardContext loadOnStartup
SEVERE: Servlet /p2pd threw load() exception
java.lang.ClassNotFoundException: com.cognos.pogo.isolation.ServletWrapper
at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1680)
In addition it seems that a few threads are not stopped:
INFO: Stopping service Catalina
Dec 05, 2013 12:40:50 PM org.apache.catalina.loader.WebappClassLoader clearReferencesThreads
SEVERE: The web application [/tm1web] appears to have started a thread named [Thread-14] but has failed to stop it. This is very likely to create a memory leak.
Dec 05, 2013 12:40:50 PM org.apache.catalina.loader.WebappClassLoader clearThreadLocalMap
SEVERE: The web application [/tm1web] created a ThreadLocal with key of type [org.apache.axis.utils.XMLUtils.ThreadLocalDocumentBuilder] (value [org.apache.axis.utils.XMLUtils$ThreadLocalDocumentBuilder@df234ecc]) and a value of type [org.apache.xerces.jaxp.DocumentBuilderImpl] (value [org.apache.xerces.jaxp.DocumentBuilderImpl@5a18b61c]) but failed to remove it when the web application was stopped. This is very likely to create a memory leak.
Stopping the TM1 services does not eliminate the leak. I have to reboot the machine to stop the leak.

I am happy to respond to queries: kingaj@us.ibm.com

Alan
Duncan P
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: Memory leak in 10.2.1 when using Rule

Post by Duncan P »

Could you be a little more specific about what exactly you are seeing? How did you come to the conclusion that it was a leak? What process do you think the leak is occurring in?

The error messages that you quote come from Tomcat which is hosting the PMPSVC which handles the communication between Performance Modeler and the TM1 server process. Could you describe what happens when you use Architect (and the PMPSVC component is not in the mix at all)?

Is it possible that what you are seeing is the result of TM1 caching the results of the calculation you requested? Have you used Performance Monitor and checked the stats cubes in Architect?

Is it possible for you to post the rule?

Questions, questions, questions ...
tomok
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: Memory leak in 10.2.1 when using Rule

Post by tomok »

Did anyone else notice the irony in this???
kingaj12 wrote:I am happy to respond to queries: kingaj@us.ibm.com
Tom O'Kelley - Manager Finance Systems
American Tower
http://www.onlinecourtreservations.com/
David Usherwood
Site Admin
Posts: 1458
Joined: Wed May 28, 2008 9:09 am

Re: Memory leak in 10.2.1 when using Rule

Post by David Usherwood »

@kingja12, I'm thinking that you have written a rule without skipchecks and feeders and TM1 is not using the sparse algorithm, then Tomcat is assuming that TM1's lack of response means there is a memory leak. Can you advise?
Post Reply