Re: Orion running out of memory ?

2001-05-30 Thread Seng Choy Kua
edit the orion-ejb-jar.xml file in /$ORION_HOME$/application-deployments/$YOUR_PROJECT$-ejb.jar directory. set the attribute max-instances='x' in all the EJBs deployed, where x is the maximum number of EJBs you allow in memory at any time. this will prevent your system from running out of memory.

Re: Orion running out of memory ?

2001-05-30 Thread Michael Jara
We have had similar problems, using Orion 1.4.5. The first problem seems to be that Orion does not re-use instances... I beleive that the orion-ejb-jar.xml defaults to allow an infinite number of instances per EJB. If you are creating a lot of instances, this might help your problem. The secon

Re: Orion running out of memory ?

2001-05-30 Thread Robert S. Sfeir
Java? Memory leak? Um, not likely. Make sure you don't have some kind of infinite loop in your application. I did that once, and got the error after Orion grew to 512MB of RAM, used up all the swap space too, then orion tried to recover and it couldn't. If you ask me, I think it does a good

RE: Orion running out of memory ?

2001-05-30 Thread Alexander Jesse
Try (just for a test) to have some servlet/ejb,... run from time to time a System.gc(); We have seen in our servlet-environments that free-memory would shrink in continuation... calling gc() from time to time would free the memory again. Cannot really explain the whereabouts, but it might work f