Hi,
Remember that the memory is only released when java needs some space in the heap (GC).
On the size, I do not know but more than 10 MB for sure as it takes 2 to 6s to transport it over the network and it is a 100MB network.
I first started the project on a 32 JVM and always came into memory trouble.
And It was a problem as the customer only had 32 bits JVM which may be your case also !
I had to convince him and on 2000 Jboss server, Guvnor is the only one in 64 bits JVM !
There may be also a memory leak.
Do you have an official support from Jboss/Redhat ? In your case they shall help you as they will take time to test your case. If not, I am sorry but at the end your only realistic solution => 64 bits JVM
cheers
Nicolas

2012/2/6 vadlam <sreeram.vadlamudi@wellsfargo.com>
Nicolas,

what is the size of the pkg file that gets loaded into your knowledge base?

when our pkg file was around 3 MB, we were able to load it successfuly into
a 1GB heap machine successfully

but when the package size grew to around 6.4 MB , we are no longer able to
load it into the 1 GB heap machine . it throws OOM errors.

we will soon be trying the loading  on a 1.4 GB heap machine.

also, we noticed that when building the package in Guvnor on a 1.4 GB heap
machine windows 32 bit using Jrockit  , around the time when it reaches 8%
heap , the physical memory is noticed to be consumed, but after the build is
complete , the heap memory is not released back . it stays at 85% . also the
physical memory is not released back.

I wonder if this has anything to do how Guvnor saves the package built or
any  other references it has to objects being left in memory ?

--
View this message in context: http://drools.46999.n3.nabble.com/limits-on-number-of-rules-in-Guvnor-in-a-package-loaded-in-knowledge-base-tp3716069p3719984.html
Sent from the Drools: User forum mailing list archive at Nabble.com.
_______________________________________________
rules-users mailing list
rules-users@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/rules-users