View previous topic :: View next topic
|
Author |
Message |
Jonny
New User
Joined: 30 Mar 2007 Posts: 3 Location: China
|
|
|
|
Dears,
I met JVM out of memory problem in USS.Could you tell me how to fix JVM out of memory problem ?
Thanks! |
|
Back to top |
|
|
dick scherrer
Moderator Emeritus
Joined: 23 Nov 2006 Posts: 19244 Location: Inside the Matrix
|
|
|
|
Hello,
Please post the actual messages that you received and where you recieved them.
These may be in multiple places, so look around and send all that you can find. |
|
Back to top |
|
|
Jonny
New User
Joined: 30 Mar 2007 Posts: 3 Location: China
|
|
|
|
Dears,
The belove is the error message.
"Exception in thread "main" java.lang.OutOfMemoryError: JVMCI008:OutOfMemoryError, eeGetFromJNIEnv failed
at com.ibm.db2.jcc.t2zos.T2zosStatement.nativeDescribeAllocateCursor(Native Method)
at com.ibm.db2.jcc.t2zos.T2zosStatement.a(T2zosStatement.java:1350)
at com.ibm.db2.jcc.t2zos.T2zosPreparedStatement.i(T2zosPreparedStatement.java:228)
at com.ibm.db2.jcc.a.cf.q(cf.java:1332)
at com.ibm.db2.jcc.a.df.d(df.java:2310)
at com.ibm.db2.jcc.a.ef.ub(ef.java:159)
at com.ibm.db2.jcc.a.ef.execute(ef.java:142)
Thank you very much. |
|
Back to top |
|
|
dick scherrer
Moderator Emeritus
Joined: 23 Nov 2006 Posts: 19244 Location: Inside the Matrix
|
|
|
|
Hello,
Where was this info presented?
If it was not on the mainframe, you need to find what info was reported on the mainframe and post that here as well. . . |
|
Back to top |
|
|
Jonny
New User
Joined: 30 Mar 2007 Posts: 3 Location: China
|
|
|
|
Hello,
When I run a java program,I encounter these error messages in USS.I have found the solution.
Solution: Add -Xms128M -Xmx128M to the java program.
Thank you very much. |
|
Back to top |
|
|
dick scherrer
Moderator Emeritus
Joined: 23 Nov 2006 Posts: 19244 Location: Inside the Matrix
|
|
|
|
You're welcome
Thanks for posting your solution - it will help others when they encounter the same situation.
Good luck |
|
Back to top |
|
|
|