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.
i've included a sample line below (taken from the orion-ejb-jar.xml file):
entity-deployment name=ForumMessageEJB location=ForumMessageEJB
wrapper=ForumMessageHome_EntityHomeWrapper23 max-instances=10
table=ForumMessageEJB
ejb-ref-mapping name=ejb/forummessage /
resource-ref-mapping name=jdbc/biltmart /
/entity-deployment
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, May 30, 2001 1:51 PM
To: [EMAIL PROTECTED]
Subject: Orion running out of memory ?
I have a test website project, running on Orionserver - after running for
maybe 15-20 hours, it suddently stops working, with the message : Out of
Memory - No Stack Trace Available
Is there some setting, where I setup the amount of memory for the
Orionserver ?
I have monitored memory usage and it keeps growing during the test
period,
until it suddently stops working, with the above memory error.
What can I do - either there is a leak or it uses incredible much memory.
(I dont use any objects, which earlier has been mentioned on this list for
leaking!)
Any ideas, people ?
-
Regards,
Tony Fonager
Netcoders ApS - http://www.netcoders.dk