-
1. Re: out of mmory error
kukeltje Jul 26, 2006 8:17 PM (in response to asubu)permgen space issues can sometimes be solved by setting additional params:
-XX:PermSize=256m
-XX:MaxPermSize=1024m
but it depends on the jvm you are using...
Another thing is that the error shows in jbpm, but the memory (ab)usage can be caused by other apps ass well if they are running on the same machine.
The scheduler running every 5 seconds is normal. It looks for timers that need to be fired. -
2. Re: out of mmory error
kukeltje Jul 26, 2006 8:18 PM (in response to asubu)btw, the numbers 256 and 1024 are just some I took from an example. You could start a little lower and see what happens
-
3. Re: out of memory error
asubu Jul 27, 2006 3:49 AM (in response to asubu)Thanks I will try that, but with the same settings running I have not yet
expierenced that problem again.
Also the JVM that I am using is -->java version "1.5.0_06"
Regards to timers, is this something that is configurable?
Regards
Subu -
4. Re: out of mmory error
kukeltje Jul 27, 2006 12:05 PM (in response to asubu)timers: I do not know. If it is in the source code, it is configurable ;-) The docs say nothing about this, so search the source.
-
5. Re: out of mmory error
derjohannes Aug 5, 2006 4:07 PM (in response to asubu)
permgen space issues can sometimes be solved by setting additional params:
-XX:PermSize=256m
-XX:MaxPermSize=1024m
Where exactly (in which file, in which line) do I have to put these params? -
6. Re: out of mmory error
kukeltje Aug 5, 2006 4:35 PM (in response to asubu)uhhmmm.... in the file where the jvm is started? or in JAVA_OPTS env if it is used or..... it is totally dependend on your environment and I think you should be able to find LOTS of info on this using google
-
7. Re: out of mmory error
derjohannes Aug 6, 2006 3:25 PM (in response to asubu)"kukeltje" wrote:
it is totally dependend on your environment and I think you should be able to find LOTS of info on this using google
Googling made me remember the citation
"We are drowning in information and starving for knowledge.", so I tried harder to find a solution myself...and finally i found the an interesting information in the JBoss boot log:
"JAVA_OPTS: -Dprogram.name=run.bat"
So I searched for a run.bat file, found it in the root dir of my jbpm starters kit installation, looked into it and I finally found the lines:
rem Sun JVM memory allocation pool parameters. Modify as appropriate.
set JAVA_OPTS=%JAVA_OPTS% -Xms128m -Xmx512m
to which i added another line:
set JAVA_OPTS=%JAVA_OPTS% -XX:PermSize=256m -XX:MaxPermSize=1024m
It's nice when information transforms to knowledge... ;-)