Skip to Main Content

Java Programming

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Need Help With Exception in thread "Thread-3" java.lang.OutOfMemoryError

807580Jul 13 2010 — edited Jul 13 2010
Hello, i'm a beginner of java programming. I have coded my own private server in java, i used as host vpsland for a vps server from $ 20/month. But i though my server is now 24/7 online but it isn't. It is crashed much time and i get this error code
Exception in thread "Thread-3" java.lang.OutOfMemoryError
        at java.util.zip.Inflater.init(Native Method)
        at java.util.zip.Inflater.<init>(Unknown Source)
        at java.util.zip.ZipFile.getInflater(Unknown Source)
        at java.util.zip.ZipFile.getInputStream(Unknown Source)
        at java.util.zip.ZipFile.getInputStream(Unknown Source)
        at java.util.jar.JarFile.getInputStream(Unknown Source)
        at sun.misc.URLClassPath$JarLoader$2.getInputStream(Unknown Source)
        at sun.misc.Resource.cachedInputStream(Unknown Source)
        at sun.misc.Resource.getByteBuffer(Unknown Source)
        at java.net.URLClassLoader.defineClass(Unknown Source)
        at java.net.URLClassLoader.access$000(Unknown Source)
        at java.net.URLClassLoader$1.run(Unknown Source)
        at java.security.AccessController.doPrivileged(Native Method)
        at java.net.URLClassLoader.findClass(Unknown Source)
        at java.lang.ClassLoader.loadClass(Unknown Source)
        at sun.misc.Launcher$AppClassLoader.loadClass(Unknown Source)
        at java.lang.ClassLoader.loadClass(Unknown Source)
        at org.apache.mina.transport.socket.nio.SocketIoProcessor$Worker.run(Soc
ketIoProcessor.java:512)
        at org.apache.mina.util.NamePreservingRunnable.run(NamePreservingRunnabl
e.java:51)
        at java.lang.Thread.run(Unknown Source)
#
# A fatal error has been detected by the Java Runtime Environment:
#
# java.lang.OutOfMemoryError: requested 32744 bytes for ChunkPool::allocate. Out
 of swap space?
#
#  Internal Error (allocation.cpp:117), pid=159360, tid=45880
#  Error: ChunkPool::allocate
#
# JRE version: 6.0_21-b06
# Java VM: Java HotSpot(TM) 64-Bit Server VM (17.0-b16 mixed mode windows-amd64
)
# An error report file with more information is saved as:
# C:\Documents and Settings\Administrator\Desktop\Server RUn v4\hs_err_pid159360
.log
#
# If you would like to submit a bug report, please visit:
#   http://java.sun.com/webapps/bugreport/crash.jsp
#
Press any key to continue . . .
If somebody know how to fix it much thank you. Please Replay in beginner langause. Thank you.
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Aug 10 2010
Added on Jul 13 2010
8 comments
388 views