-
1. Re: OutOfMemoryError
burrsutter Nov 12, 2007 8:19 PM (in response to fabianw)What is the specific error message? There is a permgen issue when you are using lots of jBPM (which uses Hibernate). We've modified the run.bat in the standalone ESB server to increase pergen memory.
In RHDS, click on the JBoss Server View tab and right-click on the AS and select Edit Launch Configuration from the pop-up menu. The permgen trick goes in the VM arguments box. -
2. Re: OutOfMemoryError
fabianw Nov 13, 2007 6:44 AM (in response to fabianw)Well the specific error message is every time completely different, only the cause is "java.lang.OutOfMemoryError: Java heap space" every time.
I'm really doing some stuff with jBPM, deploying changed processes very often. But I'm not sure what 'permgen' is...
I've added "-XX:MaxPermSize=256m" to the VM arguments. Hope 256MB will be enough :)
What about the parameters like -Xms128m -Xmx512m ??
I hope that will work. Until now I've reinstalled the ESB every time this has happened.