Re: [rules-users] PermGen space error

2012-02-09 Thread Geoffrey De Smet
Hi Joe, Thanks for correcting me. This image indeed proves your point: http://java.sun.com/docs/hotspot/gc5.0/fig4.gif As well as this thread: http://www.velocityreviews.com/forums/t683307-question-on-xms-xmx-and-xx-maxpermsize-in-jvm-start-parameter.html Very interesting, I had it wrong f

Re: [rules-users] PermGen space error

2012-02-09 Thread Joe Ammann
On 02/09/2012 09:34 AM, Geoffrey De Smet wrote: > The perm gen space is a subset of the heap space. > So it doesn't make sense to put them on the same value. > > Try this instead: > -Xmx1024m -XX:MaxPermSize=512m > Or, if that fails: > -Xmx2048m -XX:MaxPermSize=1024m > Sorry to disagree Geo

Re: [rules-users] PermGen space error

2012-02-09 Thread Geoffrey De Smet
The perm gen is the place where all your Java class files live in memory (and each DRL file generates a Java class file). The perm gen space is a subset of the heap space. So it doesn't make sense to put them on the same value. Try this instead: -Xmx1024m -XX:MaxPermSize=512m Or, if that fai

Re: [rules-users] PermGen space error

2012-02-08 Thread Zhao Yi
Thanks for reply. I have set the value to -Xmx1024m -XX:PermSize=512m -XX:MaxPermSize=1024m, but it still gets that error. -- View this message in context: http://drools.46999.n3.nabble.com/PermGen-space-error-tp3728264p3728630.html Sent from the Drools: User forum mailing list archive at Nabble

Re: [rules-users] PermGen space error

2012-02-08 Thread chriscarr
There are several different memory settings, but the "Perm Gen" is related to this one: MaxPermSize These are related to the heap (the normal memory space that we are used to) -Xms128mThis sets the initial size of the heap -Xmx1488m This sets the maximum size of the heap Th

Re: [rules-users] PermGen space error

2012-02-08 Thread Zhao Yi
I have use -Xmx -XX:PermSize to increase memory. But it does not help. Does drools have some limitation about the rules? When I delete some drl files, the error is gone. -- View this message in context: http://drools.46999.n3.nabble.com/PermGen-space-error-tp3728264p3728331.html Sent from the Dr

Re: [rules-users] PermGen space error

2012-02-08 Thread Jevon Wright
This is a normal Java error that indicates that Java has run out of memory. Try increasing the memory available to Java, for example "-Xms=128m -Xmx=512m". This can be provided as a runtime argument to your Java runtime. Cheers Jevon On Thu, Feb 9, 2012 at 3:05 PM, Zhao Yi wrote: > When I load m

[rules-users] PermGen space error

2012-02-08 Thread Zhao Yi
When I load many rule files in a knowledge base, I always get "PermGen space error". Does this relate to drools issue? Any one have this issue before? -- View this message in context: http://drools.46999.n3.nabble.com/PermGen-space-error-tp3728264p3728264.html Sent from the Drools: User forum mai