IBM Mainframe Forum Index
 
Log In
 
IBM Mainframe Forum Index Mainframe: Search IBM Mainframe Forum: FAQ Register
 

JVM out of memory problem in USS


IBM Mainframe Forums -> All Other Mainframe Topics
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
Jonny

New User


Joined: 30 Mar 2007
Posts: 3
Location: China

PostPosted: Mon Apr 23, 2007 7:42 am
Reply with quote

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
View user's profile Send private message
dick scherrer

Moderator Emeritus


Joined: 23 Nov 2006
Posts: 19244
Location: Inside the Matrix

PostPosted: Mon Apr 23, 2007 8:44 am
Reply with quote

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
View user's profile Send private message
Jonny

New User


Joined: 30 Mar 2007
Posts: 3
Location: China

PostPosted: Mon Apr 23, 2007 1:20 pm
Reply with quote

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
View user's profile Send private message
dick scherrer

Moderator Emeritus


Joined: 23 Nov 2006
Posts: 19244
Location: Inside the Matrix

PostPosted: Mon Apr 23, 2007 1:28 pm
Reply with quote

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
View user's profile Send private message
Jonny

New User


Joined: 30 Mar 2007
Posts: 3
Location: China

PostPosted: Tue Apr 24, 2007 11:37 am
Reply with quote

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
View user's profile Send private message
dick scherrer

Moderator Emeritus


Joined: 23 Nov 2006
Posts: 19244
Location: Inside the Matrix

PostPosted: Tue Apr 24, 2007 7:06 pm
Reply with quote

You're welcome icon_smile.gif

Thanks for posting your solution - it will help others when they encounter the same situation.

Good luck icon_smile.gif
Back to top
View user's profile Send private message
View previous topic :: :: View next topic  
Post new topic   Reply to topic View Bookmarks
All times are GMT + 6 Hours
Forum Index -> All Other Mainframe Topics

 


Similar Topics
Topic Forum Replies
No new posts Map Vols and Problem Dataset All Other Mainframe Topics 2
No new posts z/vm installation problem All Other Mainframe Topics 0
No new posts Job scheduling problem. JCL & VSAM 9
No new posts Problem with IFTHEN=(WHEN=GROUP,BEGIN... DFSORT/ICETOOL 5
No new posts Need to add field to copybook, proble... COBOL Programming 14
Search our Forums:

Back to Top