[jboss-user] [jBPM] New message: "Cleanup Process Engine"

Tej jbpm do-not-reply at jboss.com
Wed Jan 13 11:12:17 EST 2010

User development,

A new message was posted in the thread "Cleanup Process Engine":


Author  : Tej jbpm
Profile : http://community.jboss.org/people/tejJBPM

Hi All,
I have implemented a solution with jbpm successfully. My problem is I get a "GC overhead limit exceeded" at times as my program spends too much time on garbage collection.
I think it is the way i am initialising the process engine and the clenaup is not happening properly.
I do this in the beginning of each file which runs in my application
+= *new*+ +org.jbpm.api.Configuration().setResource("my.jbpm.cfg.xml").buildProcessEngine();+
At the end of each file I do
But is this the correct way to do it? Do I have initialise the engine once and then use it all over the pages? Will processEngine.close() cleanup all the executionService, taskService, RepositoryService which i initalise followed by the process engine initialisation.
Please guide me if there are any other better ways to do it.
+Thanks in advance+


To reply to this message visit the message page: http://community.jboss.org/message/519842#519842

More information about the jboss-user mailing list