OutOfMemoryError : Out of swap space
Anjul Narain Varma
anjul_narain at yahoo.com
Tue Oct 4 11:35:39 PDT 2011
Hello,
I am intermittently getting the below Out of Memory error for a Java application running on Windows 2003 with 4 GB RAM.
jvm 2 | 2011/10/03 02:08:00 | #
jvm 2 | 2011/10/03 02:08:00 | # An unexpected error has been detected by Java Runtime Environment:
jvm 2 | 2011/10/03 02:08:00 | #
jvm 2 | 2011/10/03 02:08:00 | # java.lang.OutOfMemoryError: requested 4096000 bytes for GrET in C:\BUILD_AREA\jdk6_07\hotspot\src\share\vm\utilities\growableArray.cpp. Out of swap space?
jvm 2 | 2011/10/03 02:08:00 | #
jvm 2 | 2011/10/03 02:08:00 | # Internal Error (allocation.inline.hpp:42), pid=3224, tid=3964
jvm 2 | 2011/10/03 02:08:00 | # Error: GrET in C:\BUILD_AREA\jdk6_07\hotspot\src\share\vm\utilities\growableArray.cpp
jvm 2 | 2011/10/03 02:08:00 | #
JDK version: 1.6.0_07
JVM settings are:
-Xmx16m -Xmx1600m.
Reviewing the bug reports, it seems to have been fixed in jdk 1.6.0_21, however this is production machine and we don't want to go for an upgrade presently.
One of the workaround we came across was to make the -Xms=-Xmx value? Is there any way to find what value would work for us?
Please note, that we don't have any other process(s) running on this box except for the java application.
Thank you.
Anjul Varma
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.openjdk.java.net/pipermail/hotspot-gc-use/attachments/20111004/cec4b75a/attachment.html
More information about the hotspot-gc-use
mailing list