cancel
Showing results for 
Search instead for 
Did you mean: 

OutofMemory PermGen error

sapra
Champ in-the-making
Champ in-the-making
To my process I have added 2 simple rule tasks. Since that time, our maven build is failing with permgen errors. if I remove the rules from the process, the build is fine. I am using spring deployment configuration and activiti 5.7, drools 5.3.0 Final.

the build invokes a test case that runs the process. And the test is run 4 times with different input.
I find that the process is executing but the build hits the memory issue soon after these tests are done.

Is there any known PermGen , classloader leak with drools ?

Thank you for the help.
Saprar
2 REPLIES 2

sapra
Champ in-the-making
Champ in-the-making
well .. looks like it may not be a drools issue …

in my log file, I see this
Jan 17, 2012 1:53:10 AM org.activiti.engine.impl.ProcessEngineImpl <init>
INFO: ProcessEngine default created
Jan 17, 2012 1:53:10 AM org.activiti.engine.impl.ProcessEngineImpl <init>
INFO: ProcessEngine default created

Is this normal ? Why is the engine being initialized twice. Would it lead to excess class loading ?

thanks
Saprar

trademak
Star Contributor
Star Contributor
Hi,

That you get the process engine startup message two times is not a good sign.
However the permgen error is probably related to the fact that it needs an Activiti Engine AND a Drool Engine when you're using rules.
So that could be easily solved by increasing the memory on your build server.

Best regards,
Getting started

Tags


Find what you came for

We want to make your experience in Hyland Connect as valuable as possible, so we put together some helpful links.