on 03-13-2009 8:09 AM
Hi,
I have a very memory-hungry standalone Java application. At the moment, I cannot re-design it. Thus, it still has to run a little while.
Problem: when I start it with -Xms512m or -Xmx1536m it runs into a java.lang.OutOfMemoryError !
I suspect that the OS cannot allocate enough memory - what is strange:
Vista-32bit, 10 GB pagefile, 3.5 GB RAM, JRE 1.6.0_11
Any comments appreciated - thanks !
Bernie
hi
http://ksar.atomique.net/frm-ksar/viewtopic.php?f=2&t=324&p=811
could be more specific about ur application so that we can solve the issue
bvr
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
here's some more information:
#
An unexpected error has been detected by Java Runtime Environment:
#
java.lang.OutOfMemoryError: requested 124024832 bytes for jchar in C:\BUILD_AREA\jdk6_11\hotspot\src\share\vm\prims\jni.cpp. Out of swap space?
#
Internal Error (allocation.inline.hpp:42), pid=4140, tid=1316
Error: jchar in C:\BUILD_AREA\jdk6_11\hotspot\src\share\vm\prims\jni.cpp
#
Java VM: Java HotSpot(TM) Client VM (11.0-b16 mixed mode, sharing windows-x86)
If you would like to submit a bug report, please visit:
#
-
T H R E A D -
Current thread (0x4d9cec00): JavaThread "Thread-825" [_thread_in_vm, id=1316, stack(0x57920000,0x57970000)]
Stack: [0x57920000,0x57970000]
[error occurred during error reporting (printing stack bounds), id 0x80000001]
Java frames: (J=compiled Java code, j=interpreted, Vv=VM code)
j com.sap.mw.jco.rfc.MiddlewareRFC$Client.nativeExecute(Lcom/sap/mw/jco/JCO$Client;Ljava/lang/String;Lcom/sap/mw/jco/JCO$ParameterList;Lcom/sap/mw/jco/JCO$ParameterList;Lcom/sap/mw/jco/JCO$ParameterList;Lcom/sap/mw/jco/JCO$ParameterList;Ljava/lang/String;Ljava/lang/String;I)V+0
J com.sap.mw.jco.JCO$Client.execute(Ljava/lang/String;Lcom/sap/mw/jco/JCO$ParameterList;Lcom/sap/mw/jco/JCO$ParameterList;Lcom/sap/mw/jco/JCO$ParameterList;Lcom/sap/mw/jco/JCO$ParameterList;Ljava/lang/String;Ljava/lang/String;I)V
j com.sap.mw.jco.JCO$Client.execute(Lcom/sap/mw/jco/JCO$Function;)V+21
J com.sap.home.sdc.pdbcol.CollectorThread.ReadSysinfo()Z
j com.sap.home.sdc.pdbcol.CollectorThread.run()V+104
v ~StubRoutines::call_stub
VM state:synchronizing (normal execution)
VM Mutex/Monitor currently owned by a thread: ([mutex/lock_event])
[0x00d37e08] UNKNOWN - owner thread: 0x00c62000
[0x00d38268] UNKNOWN - owner thread: 0x474a0000
Heap
def new generation total 29056K, used 9214K [0x07400000, 0x09380000, 0x09b60000)
eden space 25856K, 35% used [0x07400000, 0x07cffaa0, 0x08d40000)
from space 3200K, 0% used [0x08d40000, 0x08d40000, 0x09060000)
to space 3200K, 0% used [0x09060000, 0x09060000, 0x09380000)
tenured generation total 384356K, used 230611K [0x09b60000, 0x212b9000, 0x27400000)
the space 384356K, 59% used [0x09b60000, 0x17c94dd0, 0x17c94e00, 0x212b9000)
compacting perm gen total 12288K, used 3329K [0x27400000, 0x28000000, 0x2b400000)
the space 12288K, 27% used [0x27400000, 0x277406d8, 0x27740800, 0x28000000)
ro space 8192K, 63% used [0x2b400000, 0x2b913ae8, 0x2b913c00, 0x2bc00000)
rw space 12288K, 53% used [0x2bc00000, 0x2c2683f8, 0x2c268400, 0x2c800000)
Cheers, Bernd
User | Count |
---|---|
96 | |
11 | |
11 | |
10 | |
9 | |
7 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.