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
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
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
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
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
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
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
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