JVM error: out of memory

dear all… we have two agents running at the same enviroment, we call them A and B agent below.

Agent A – running per 30 mins, query data from oracle db.

Agent B – running per day, query data from oracle db and save result to notes docs.

agent A running for few days(the longest is one week) crash our server, we found error msg on log.nsf.

error msg is “JVM out of memory”. we found that error occured immediately when the agent A starting running. It never run into main class. and when the error occured, all of our java agent can’t run any more utill we restart notes server.

any idea for that??

Subject: JVM error: out of memory

You could increase the heap size using:JavaMinHeapSize=

and

JavaMaxHeapSize=

in notes.ini. Read more at:

http://www-10.lotus.com/ldd/today.nsf/0/2d5fefbb43ffff7a00256c410047a793?OpenDocument

  • Johan

johan@kanngard.net

http://dev.kanngard.net

Subject: JVM error: out of memory

Is ist possible that you have the JDBC Driver of Oracle directly attached to the database? There are problems when big JAR’s imported in a script library. Try to remove the JAR from the Notesdatabase and add the JAR to the JavaUserClasses notes.ini entry.

Greetings

Ralf M Petter

Subject: JVM error: out of memory

Try to do document.recycle() after processing each document in a document collection.Recycle all other objects you do not need any more.

Subject: RE: JVM error: out of memory

Hi, versus de .recycle() issue (which unfortunallu should always be done), in our company the memory problem did not disappear until we upgraded to 6.5.4

Yes, we had the memory problem for all 6.5.0, 6.5.1, 6.5.2 & 6.5.3

Hope it helps,

J R