RE: Help: Out of Memory Error...

2002-01-08 Thread Mohammed Islam


don't send this mail  to me


Mohammed Islam
Fulcrum Analytics,  Inc.(formerly Cyber Dialogue )
Phone:  212-651-9263






RE: Help: Out of Memory Error...

2001-11-28 Thread Vipul Mehta

java -ms128M -mx800M -jar orion.jar use this jvm setting where 128M is
the minimum memory  and 800M is the maximum memory jvm will use it to
start orion.

vipul
-Original Message-
From: Arjen Schoneveld [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, November 28, 2001 12:02 PM
To: Orion-Interest
Cc: Arjen Schoneveld
Subject: Help: Out of Memory Error...


Hi All,
 
We are about to deploy a new application for our client that is built on
Orion. The application consists of some Servlets, statefull and
stateless
session beans and CM entity beans.
We have been testing the application for a month now and did not
experience
any problems.
However today we set up a client application that sequentially submits
XML
documents to the Servlet which controls a Statefull Session bean.
(This is also
how our web-application (and that of others) talk to this servlet (via
XML).
Normally a human is entering data in a web application and the data is
marshalled
in an XML document and send to the Servlet).
The client-application is supposed to submit 2 XML documents
sequentially
to the servlet, which parses it, calls some methods of a statefull
session bean 
(which controls other stateless session beans and entity beans) and
sends an XML
reply back. Every XML request takes about 1.5s to process. So far so
good. However after an hour (or so) of running, Orion gets an
java.lang.OutOfMemory Exception (see below).
Does anybody known a solution. It is very important because we are about
to deploy our application in production environment.
 
Maybe we should delimit the number of (entity) bean instances? For every
XML
request about 20 records (hence entity beans) are created.
 
BTW We are using SQL-server as a database.
 
Thanks very much in advance,
Arjen Schoneveld
 
11/28/01 6:28 PM nbwo: Servlet error
java.lang.OutOfMemoryError
 no stack trace available
11/28/01 6:28 PM Error in bean NBWOSession
java.lang.OutOfMemoryError
 no stack trace available
11/28/01 6:28 PM Error in bean Requests: Error loading state
java.rmi.RemoteException: java.lang.IllegalStateException: Transaction
expired: java.lang.OutOfMemoryError
 at
com.dvs.nbwo.toolbox.ejb.entity.RequestsBean.ejbLoad(RequestsBean.java:8
6)
 at
Requests_EntityBeanWrapper3.loadState(Requests_EntityBeanWrapper3.java:7
17)
 at com.evermind[Orion/1.5.2 (build
10460)].server.ejb.EntityEJBObject.endTransaction(Unknown Source)
 at com.evermind[Orion/1.5.2 (build
10460)].server.ApplicationServerTransactionSynchronization._vib(Unknown
Source)
 at com.evermind[Orion/1.5.2 (build
10460)].server.ApplicationServerTransaction._vib(Unknown Source)
 at com.evermind[Orion/1.5.2 (build
10460)].server.ApplicationServerTransactionSynchronization.afterCompleti
on(Unknown Source)
 at com.evermind[Orion/1.5.2 (build
10460)].server.ApplicationServerTransaction._end(Unknown Source)
 at com.evermind[Orion/1.5.2 (build
10460)].server.ApplicationServerTransaction.end(Unknown Source)
 at
NBWOSession_StatefulSessionBeanWrapper27.storeData(NBWOSession_StatefulS
essionBeanWrapper27.java:3919)
 at
com.dvs.nbwo.toolbox.servlets.NBWOServlet.maakResultaatWaardebepalingsBe
richt(NBWOServlet.java:1375)
 at
com.dvs.nbwo.toolbox.servlets.NBWOServlet.doNbwoToetsing(NBWOServlet.jav
a:977)
 at
com.dvs.nbwo.toolbox.servlets.NBWOServlet.doAction(NBWOServlet.java:168)
 at
org.dexels.toolbox.server.ToolboxServerServlet.doPost(ToolboxServerServl
et.java:395)
 at javax.servlet.http.HttpServlet.service(HttpServlet.java:211)
 at javax.servlet.http.HttpServlet.service(HttpServlet.java:309)
 at javax.servlet.http.HttpServlet.service(HttpServlet.java:336)
 at com.evermind[Orion/1.5.2 (build 10460)]._cxb._abe(Unknown Source)
 at com.evermind[Orion/1.5.2 (build 10460)]._cxb.include(Unknown Source)
 at org.dexels.toolbox.server.Postman.dispatch(Postman.java:197)
 at org.dexels.toolbox.server.Postman.doPost(Postman.java:513)
 at javax.servlet.http.HttpServlet.service(HttpServlet.java:211)
 at javax.servlet.http.HttpServlet.service(HttpServlet.java:309)
 at javax.servlet.http.HttpServlet.service(HttpServlet.java:336)
 at com.evermind[Orion/1.5.2 (build 10460)]._cxb._abe(Unknown Source)
 at com.evermind[Orion/1.5.2 (build 10460)]._cxb._uec(Unknown Source)
 at com.evermind[Orion/1.5.2 (build 10460)]._io._twc(Unknown Source)
 at com.evermind[Orion/1.5.2 (build 10460)]._io._gc(Unknown Source)
 at com.evermind[Orion/1.5.2 (build 10460)]._if.run(Unknown Source)
11/28/01 6:28 PM Error in bean Requests: Error while delisting bean from
TX
com.evermind[Orion/1.5.2 (build
10460)].transaction.MarshallingXAException
 at com.evermind[Orion/1.5.2 (build
10460)].server.ejb.EntityEJBObject.endTransaction(Unknown Source)
 at com.evermind[Orion/1.5.2 (build
10460)].server.ApplicationServerTransactionSynchronization._vib(Unknown
Source)
 at com.evermind[Orion/1.5.2 (build
10460)].server.ApplicationServerTransaction._vib(Unknown Source)
 at com.evermind[Orion/1.5.2 (build
10460)].server.ApplicationServerTransactionSynchronization.afterCompleti

RE: Help: Out of Memory Error...

2001-11-28 Thread Trujillo, Kris

What are you setting for your VM min/max heap settings?

-Original Message-
From: Arjen Schoneveld [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, November 28, 2001 1:02 PM
To: Orion-Interest
Cc: Arjen Schoneveld
Subject: Help: Out of Memory Error...


Hi All,
 
We are about to deploy a new application for our client that is built on
Orion. The application consists of some Servlets, statefull and
stateless
session beans and CM entity beans.
We have been testing the application for a month now and did not
experience
any problems.
However today we set up a client application that sequentially submits
XML
documents to the Servlet which controls a Statefull Session bean.
(This is also
how our web-application (and that of others) talk to this servlet (via
XML).
Normally a human is entering data in a web application and the data is
marshalled
in an XML document and send to the Servlet).
The client-application is supposed to submit 2 XML documents
sequentially
to the servlet, which parses it, calls some methods of a statefull
session bean 
(which controls other stateless session beans and entity beans) and
sends an XML
reply back. Every XML request takes about 1.5s to process. So far so
good. However after an hour (or so) of running, Orion gets an
java.lang.OutOfMemory Exception (see below).
Does anybody known a solution. It is very important because we are about
to deploy our application in production environment.
 
Maybe we should delimit the number of (entity) bean instances? For every
XML
request about 20 records (hence entity beans) are created.
 
BTW We are using SQL-server as a database.
 
Thanks very much in advance,
Arjen Schoneveld
 
11/28/01 6:28 PM nbwo: Servlet error
java.lang.OutOfMemoryError
 no stack trace available
11/28/01 6:28 PM Error in bean NBWOSession
java.lang.OutOfMemoryError
 no stack trace available
11/28/01 6:28 PM Error in bean Requests: Error loading state
java.rmi.RemoteException: java.lang.IllegalStateException: Transaction
expired: java.lang.OutOfMemoryError
 at
com.dvs.nbwo.toolbox.ejb.entity.RequestsBean.ejbLoad(RequestsBean.java:8
6)
 at
Requests_EntityBeanWrapper3.loadState(Requests_EntityBeanWrapper3.java:7
17)
 at com.evermind[Orion/1.5.2 (build
10460)].server.ejb.EntityEJBObject.endTransaction(Unknown Source)
 at com.evermind[Orion/1.5.2 (build
10460)].server.ApplicationServerTransactionSynchronization._vib(Unknown
Source)
 at com.evermind[Orion/1.5.2 (build
10460)].server.ApplicationServerTransaction._vib(Unknown Source)
 at com.evermind[Orion/1.5.2 (build
10460)].server.ApplicationServerTransactionSynchronization.afterCompleti
on(Unknown Source)
 at com.evermind[Orion/1.5.2 (build
10460)].server.ApplicationServerTransaction._end(Unknown Source)
 at com.evermind[Orion/1.5.2 (build
10460)].server.ApplicationServerTransaction.end(Unknown Source)
 at
NBWOSession_StatefulSessionBeanWrapper27.storeData(NBWOSession_StatefulS
essionBeanWrapper27.java:3919)
 at
com.dvs.nbwo.toolbox.servlets.NBWOServlet.maakResultaatWaardebepalingsBe
richt(NBWOServlet.java:1375)
 at
com.dvs.nbwo.toolbox.servlets.NBWOServlet.doNbwoToetsing(NBWOServlet.jav
a:977)
 at
com.dvs.nbwo.toolbox.servlets.NBWOServlet.doAction(NBWOServlet.java:168)
 at
org.dexels.toolbox.server.ToolboxServerServlet.doPost(ToolboxServerServl
et.java:395)
 at javax.servlet.http.HttpServlet.service(HttpServlet.java:211)
 at javax.servlet.http.HttpServlet.service(HttpServlet.java:309)
 at javax.servlet.http.HttpServlet.service(HttpServlet.java:336)
 at com.evermind[Orion/1.5.2 (build 10460)]._cxb._abe(Unknown Source)
 at com.evermind[Orion/1.5.2 (build 10460)]._cxb.include(Unknown Source)
 at org.dexels.toolbox.server.Postman.dispatch(Postman.java:197)
 at org.dexels.toolbox.server.Postman.doPost(Postman.java:513)
 at javax.servlet.http.HttpServlet.service(HttpServlet.java:211)
 at javax.servlet.http.HttpServlet.service(HttpServlet.java:309)
 at javax.servlet.http.HttpServlet.service(HttpServlet.java:336)
 at com.evermind[Orion/1.5.2 (build 10460)]._cxb._abe(Unknown Source)
 at com.evermind[Orion/1.5.2 (build 10460)]._cxb._uec(Unknown Source)
 at com.evermind[Orion/1.5.2 (build 10460)]._io._twc(Unknown Source)
 at com.evermind[Orion/1.5.2 (build 10460)]._io._gc(Unknown Source)
 at com.evermind[Orion/1.5.2 (build 10460)]._if.run(Unknown Source)
11/28/01 6:28 PM Error in bean Requests: Error while delisting bean from
TX
com.evermind[Orion/1.5.2 (build
10460)].transaction.MarshallingXAException
 at com.evermind[Orion/1.5.2 (build
10460)].server.ejb.EntityEJBObject.endTransaction(Unknown Source)
 at com.evermind[Orion/1.5.2 (build
10460)].server.ApplicationServerTransactionSynchronization._vib(Unknown
Source)
 at com.evermind[Orion/1.5.2 (build
10460)].server.ApplicationServerTransaction._vib(Unknown Source)
 at com.evermind[Orion/1.5.2 (build
10460)].server.ApplicationServerTransactionSynchronization.afterCompleti
on(Unknown Source)
 at com.evermind[Orion/1.5.2 (build
10460)].server.ApplicationServerTransaction._end(Unknown