JVM Out of memory problem

Hi,all

we have a JDBC agent to pull data from oracle.

but suffer JVM memory leakage problem recently.

From OS memory monitor, it also exhausted.

Is any one have experience about this or suggestion?

Thank you!

PS. I already put many recycle and system.gc code but fail.

05/07/2008 05:02:05 PM AMgr: Agent (‘code’ in ‘ap\xxx.NSF’) error message: <AF[92]: Insufficient space in Javaheap to satisfy allocation request>

05/07/2008 05:02:05 PM AMgr: Agent (‘code’ in ‘ap\xxx.NSF’) error message: <AF[92]: completed in 629 ms>

05/07/2008 05:02:05 PM AMgr: Agent (‘code’ in ‘ap\xxx.NSF’) error message: Exception

05/07/2008 05:02:05 PM AMgr: Agent (‘code’ in ‘ap\xxx.NSF’) error message: in thread

05/07/2008 05:02:05 PM AMgr: Agent (‘code’ in ‘ap\xxx.NSF’) error message: “main”

05/07/2008 05:02:05 PM AMgr: Agent (‘code’ in ‘ap\xxx.NSF’) error message:

05/07/2008 05:02:05 PM AMgr: Agent (‘code’ in ‘ap\xxx.NSF’) error message: java.lang.OutOfMemoryError:

05/07/2008 05:02:05 PM AMgr: Agent (‘code’ in ‘ap\xxx.NSF’) error message: at java.io.ByteArrayOutputStream.toByteArray(ByteArrayOutputStream.java:154)

Subject: JVM Out of memory problem

Hi

You can rise the max heap size for the JVM by the setting in Notes.ini:

JavaMaxHeapSize=number of bytes

brgds Jesper Kiaer

http://www.jezzper.com

Subject: RE: JVM Out of memory problem

I add max heap to 256M, it remain longer…But finally, it still run out of memory.