Hi there
When I create several EJBEntityBeans, say about 20'000, JBoss comes up with a OutOfMemoryException.
As the Exception implies I checkt my Memory, but in the Taskmanager there was not even half of my Memory used. So JBOSS must have some own Memorylimit. Can someone tell me where I can configer that?
As I looked for a way to save Memory I found the flushCache method. Now I flush the cache if the size is over 2000. So I can create as many EJBEntityBeans as I like.
My question is now way does JBOSS not by it self? Or did I miss some configuration to tell JBOSS to do so?
Thanks for any help
Andy
Hi,
for example (in run.bat):
rem Sun JVM memory allocation pool parameters. Uncomment and modify as appropriate.
set JAVA_OPTS=%JAVA_OPTS% -Xms128m -Xmx1024m