Thread: Java Error, What should i do? Server turns off when this happens.

Page 1 of 2 12 LastLast
Results 1 to 10 of 19
  1. #1 Java Error, What should i do? Server turns off when this happens. 
    Banned

    Join Date
    Jul 2009
    Posts
    3,999
    Thanks given
    1,003
    Thanks received
    1,028
    Rep Power
    0
    Help me out, got this error... Server stops running.


    #
    # A fatal error has been detected by the Java Runtime Environment:
    #
    # java.lang.OutOfMemoryError: requested 4092 bytes for char in C:\BUILD_AREA\jdk6_19\hotspot\src\share\vm\utiliti es\stack.inline.hpp. Out of swap space?
    #
    # Internal Error (allocation.inline.hpp:39), pid=3432, tid=2868
    # Error: char in C:\BUILD_AREA\jdk6_19\hotspot\src\share\vm\utiliti es\stack.inline.hpp
    #
    # JRE version: 6.0_19-b04
    # Java VM: Java HotSpot(TM) Client VM (16.2-b04 mixed mode windows-x86 )
    # If you would like to submit a bug report, please visit:
    # HotSpot Virtual Machine Error Reporting Page
    #

    --------------- T H R E A D ---------------

    Current thread (0x51e4fc00): VMThread [stack: 0x51ee0000,0x51f30000] [id=2868]

    Stack: [0x51ee0000,0x51f30000], sp=0x51f2fa94, free space=13e51f2faa4k
    Native frames: (J=compiled Java code, j=interpreted, Vv=VM code, C=native code)
    V [jvm.dll+0x1f4180]
    V [jvm.dll+0xa1ebc]
    V [jvm.dll+0x15dd29]
    V [jvm.dll+0xde5c9]
    V [jvm.dll+0x176c0e]
    V [jvm.dll+0x15dea6]
    V [jvm.dll+0x1e1ff4]
    V [jvm.dll+0x1a1d4d]
    V [jvm.dll+0xc84cf]
    V [jvm.dll+0xca15c]
    V [jvm.dll+0xca520]
    V [jvm.dll+0xce57a]
    V [jvm.dll+0x1d8762]
    V [jvm.dll+0xc94b8]
    V [jvm.dll+0x7e7cb]
    V [jvm.dll+0x1f45ab]
    V [jvm.dll+0x1f7043]
    V [jvm.dll+0x1f62de]
    V [jvm.dll+0x1f662c]
    V [jvm.dll+0x1f6a52]
    V [jvm.dll+0x17f96c]
    C [msvcr71.dll+0x9565]
    C [kernel32.dll+0x24829]

    VM_Operation (0x0090f7f4): GenCollectForAllocation, mode: safepoint, requested by thread 0x002a6400


    --------------- P R O C E S S ---------------

    Java Threads: ( => current thread )
    0x5226c000 JavaThread "AnonymousIoService-16" daemon [_thread_blocked, id=2340, stack(0x52a20000,0x52a70000)]
    0x5228d000 JavaThread "AnonymousIoService-15" daemon [_thread_blocked, id=580, stack(0x529d0000,0x52a20000)]
    0x5227c800 JavaThread "AnonymousIoService-14" daemon [_thread_blocked, id=1636, stack(0x52980000,0x529d0000)]
    0x52267c00 JavaThread "AnonymousIoService-13" daemon [_thread_blocked, id=2580, stack(0x52930000,0x52980000)]
    0x5229c800 JavaThread "AnonymousIoService-12" daemon [_thread_blocked, id=2108, stack(0x528e0000,0x52930000)]
    0x522a1000 JavaThread "AnonymousIoService-11" daemon [_thread_blocked, id=2800, stack(0x52890000,0x528e0000)]
    0x522a0000 JavaThread "AnonymousIoService-10" daemon [_thread_blocked, id=1168, stack(0x52840000,0x52890000)]
    0x52299400 JavaThread "AnonymousIoService-9" daemon [_thread_blocked, id=996, stack(0x527f0000,0x52840000)]
    0x52298000 JavaThread "AnonymousIoService-8" daemon [_thread_blocked, id=1000, stack(0x527a0000,0x527f0000)]
    0x52270800 JavaThread "AnonymousIoService-7" daemon [_thread_blocked, id=864, stack(0x52750000,0x527a0000)]
    0x5227ec00 JavaThread "AnonymousIoService-6" daemon [_thread_blocked, id=3760, stack(0x52700000,0x52750000)]
    0x5227d400 JavaThread "AnonymousIoService-5" daemon [_thread_blocked, id=3884, stack(0x526b0000,0x52700000)]
    0x52268c00 JavaThread "AnonymousIoService-4" daemon [_thread_blocked, id=2616, stack(0x52660000,0x526b0000)]
    0x52276800 JavaThread "AnonymousIoService-3" daemon [_thread_blocked, id=3668, stack(0x52610000,0x52660000)]
    0x52274400 JavaThread "AnonymousIoService-2" daemon [_thread_blocked, id=2504, stack(0x525c0000,0x52610000)]
    0x52274c00 JavaThread "PooledByteBufferExpirer-0" daemon [_thread_blocked, id=2792, stack(0x52570000,0x525c0000)]
    0x52266800 JavaThread "AnonymousIoService-1" daemon [_thread_blocked, id=3556, stack(0x52520000,0x52570000)]
    0x52205400 JavaThread "Thread-1" [_thread_blocked, id=2352, stack(0x52480000,0x524d0000)]
    0x52219400 JavaThread "SocketAcceptor-0" [_thread_in_native, id=3520, stack(0x52430000,0x52480000)]
    0x51e6f000 JavaThread "Low Memory Detector" daemon [_thread_blocked, id=3640, stack(0x520c0000,0x52110000)]
    0x51e69400 JavaThread "CompilerThread0" daemon [_thread_blocked, id=2152, stack(0x52070000,0x520c0000)]
    0x51e67c00 JavaThread "Attach Listener" daemon [_thread_blocked, id=3088, stack(0x52020000,0x52070000)]
    0x51e66800 JavaThread "Signal Dispatcher" daemon [_thread_blocked, id=3160, stack(0x51fd0000,0x52020000)]
    0x51e57000 JavaThread "Finalizer" daemon [_thread_blocked, id=2668, stack(0x51f80000,0x51fd0000)]
    0x51e52800 JavaThread "Reference Handler" daemon [_thread_blocked, id=3552, stack(0x51f30000,0x51f80000)]
    0x002a6400 JavaThread "main" [_thread_blocked, id=3624, stack(0x008c0000,0x00910000)]

    Other Threads:
    =>0x51e4fc00 VMThread [stack: 0x51ee0000,0x51f30000] [id=2868]
    0x51e72000 WatcherThread [stack: 0x52110000,0x52160000] [id=3108]

    VM state:at safepoint (normal execution)

    VM Mutex/Monitor currently owned by a thread: ([mutex/lock_event])
    [0x002a5390] Threads_lock - owner thread: 0x51e4fc00
    [0x002a57a0] Heap_lock - owner thread: 0x002a6400

    Heap
    def new generation total 52160K, used 5760K [0x02990000, 0x06220000, 0x1b990000)
    eden space 46400K, 0% used [0x02990000, 0x02990000, 0x056e0000)
    from space 5760K, 100% used [0x056e0000, 0x05c80000, 0x05c80000)
    to space 5760K, 0% used [0x05c80000, 0x05c80000, 0x06220000)
    tenured generation total 119248K, used 119199K [0x1b990000, 0x22e04000, 0x4d990000)
    the space 119248K, 99% used [0x1b990000, 0x22df7e80, 0x22df8000, 0x22e04000)
    compacting perm gen total 12288K, used 7199K [0x4d990000, 0x4e590000, 0x51990000)
    the space 12288K, 58% used [0x4d990000, 0x4e097c78, 0x4e097e00, 0x4e590000)
    No shared spaces configured.

    Dynamic libraries:
    0x00400000 - 0x00424000 C:\Program Files\Java\jre6\bin\java.exe
    0x7c800000 - 0x7c8c0000 C:\WINDOWS\system32\ntdll.dll
    0x77e40000 - 0x77f42000 C:\WINDOWS\system32\kernel32.dll
    0x77f50000 - 0x77feb000 C:\WINDOWS\system32\ADVAPI32.dll
    0x77c50000 - 0x77cef000 C:\WINDOWS\system32\RPCRT4.dll
    0x76f50000 - 0x76f63000 C:\WINDOWS\system32\Secur32.dll
    0x7c340000 - 0x7c396000 C:\Program Files\Java\jre6\bin\msvcr71.dll
    0x6d800000 - 0x6da97000 C:\Program Files\Java\jre6\bin\client\jvm.dll
    0x77380000 - 0x77411000 C:\WINDOWS\system32\USER32.dll
    0x77c00000 - 0x77c48000 C:\WINDOWS\system32\GDI32.dll
    0x76aa0000 - 0x76acd000 C:\WINDOWS\system32\WINMM.dll
    0x71bc0000 - 0x71bc8000 C:\WINDOWS\system32\rdpsnd.dll
    0x771f0000 - 0x77201000 C:\WINDOWS\system32\WINSTA.dll
    0x77ba0000 - 0x77bfa000 C:\WINDOWS\system32\msvcrt.dll
    0x71c40000 - 0x71c97000 C:\WINDOWS\system32\NETAPI32.dll
    0x76b70000 - 0x76b7b000 C:\WINDOWS\system32\PSAPI.DLL
    0x6d7b0000 - 0x6d7bc000 C:\Program Files\Java\jre6\bin\verify.dll
    0x6d330000 - 0x6d34f000 C:\Program Files\Java\jre6\bin\java.dll
    0x6d290000 - 0x6d298000 C:\Program Files\Java\jre6\bin\hpi.dll
    0x6d7f0000 - 0x6d7ff000 C:\Program Files\Java\jre6\bin\zip.dll
    0x6d610000 - 0x6d623000 C:\Program Files\Java\jre6\bin\net.dll
    0x71c00000 - 0x71c17000 C:\WINDOWS\system32\WS2_32.dll
    0x71bf0000 - 0x71bf8000 C:\WINDOWS\system32\WS2HELP.dll
    0x6d630000 - 0x6d639000 C:\Program Files\Java\jre6\bin\nio.dll
    0x71b20000 - 0x71b61000 C:\WINDOWS\system32\mswsock.dll
    0x5f270000 - 0x5f2ca000 C:\WINDOWS\system32\hnetcfg.dll
    0x71ae0000 - 0x71ae8000 C:\WINDOWS\System32\wshtcpip.dll
    0x68000000 - 0x68035000 C:\WINDOWS\system32\rsaenh.dll
    0x76920000 - 0x769e2000 C:\WINDOWS\system32\USERENV.dll

    VM Arguments:
    jvm_args: -Xmx1200m
    java_command: server.Server
    Launcher Type: SUN_STANDARD

    Environment Variables:
    PATH=C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\Sys tem32\Wbem
    USERNAME=Administrator
    OS=Windows_NT
    PROCESSOR_IDENTIFIER=x86 Family 6 Model 23 Stepping 10, GenuineIntel



    --------------- S Y S T E M ---------------

    OS: Windows Server 2003 family Build 3790 Service Pack 2

    CPU:total 4 (4 cores per cpu, 1 threads per core) family 6 model 23 stepping 10, cmov, cx8, fxsr, mmx, sse, sse2, sse3, ssse3, sse4.1

    Memory: 4k page, physical 2085964k(494188k free), swap 4030252k(2692968k free)

    vm_info: Java HotSpot(TM) Client VM (16.2-b04) for windows-x86 JRE (1.6.0_19-b04), built on Mar 9 2010 00:48:41 by "java_re" with MS VC++ 7.1 (VS2003)

    time: Tue Aug 10 08:31:38 2010
    elapsed time: 994 seconds
    Reply With Quote  
     

  2. #2  
    Registered Member
    .Dan's Avatar
    Join Date
    Sep 2008
    Age
    28
    Posts
    873
    Thanks given
    54
    Thanks received
    115
    Rep Power
    494
    java.lang.OutOfMemoryError; Probably a memory leak, like Division's.

    Post run.bat
    Reply With Quote  
     

  3. #3  
    Banned

    Join Date
    Jul 2009
    Posts
    3,999
    Thanks given
    1,003
    Thanks received
    1,028
    Rep Power
    0
    Quote Originally Posted by DunnKz View Post
    java.lang.OutOfMemoryError; Probably a memory leak, like Division's.

    Post run.bat
    @echo off
    title RL

    "C:\Program Files\Java\jre6\bin\java.exe" -Xmx900m -cp bin;deps/poi.jar;deps/mysql.jar;deps/mina.jar;deps/slf4j.jar;deps/slf4j-nop.jar;deps/jython.jar;log4j-1.2.15.jar; server.Server

    pause

    This is the run.bat
    Reply With Quote  
     

  4. #4  
    Registered Member
    .Dan's Avatar
    Join Date
    Sep 2008
    Age
    28
    Posts
    873
    Thanks given
    54
    Thanks received
    115
    Rep Power
    494
    This is just a chap-fix, but should work:

    Set "-Xmx900m" bigger, what are your server's specs? (RAM)
    Reply With Quote  
     

  5. #5  
    Banned

    Join Date
    Jul 2009
    Posts
    3,999
    Thanks given
    1,003
    Thanks received
    1,028
    Rep Power
    0
    Quote Originally Posted by DunnKz View Post
    This is just a chap-fix, but should work:

    Set "-Xmx900m" bigger, what are your server's specs? (RAM)


    2GB Ram Dedi.
    Reply With Quote  
     

  6. #6  
    Registered Member
    .Dan's Avatar
    Join Date
    Sep 2008
    Age
    28
    Posts
    873
    Thanks given
    54
    Thanks received
    115
    Rep Power
    494
    Set it -"Xmx1536", also add the "-server" parameter.

    Spoonfeed:
    Code:
    @echo off
    title RL
    "C:\Program Files\Java\jre6\bin\java.exe" -server -Xmx1536m -cp bin;deps/poi.jar;deps/mysql.jar;deps/mina.jar;deps/slf4j.jar;deps/slf4j-nop.jar;deps/jython.jar;log4j-1.2.15.jar; server.Server
    pause
    Reply With Quote  
     

  7. #7  
    Registered Member
    Mister Maggot's Avatar
    Join Date
    Dec 2008
    Posts
    7,227
    Thanks given
    3,283
    Thanks received
    2,875
    Rep Power
    5000
    java.lang.OutOfMemoryError
    How do you not know what that means?
    Reply With Quote  
     

  8. #8  
    Banned

    Join Date
    Jul 2009
    Posts
    3,999
    Thanks given
    1,003
    Thanks received
    1,028
    Rep Power
    0
    Where do i add the -server parameter? I tried and the batch wont run lol.
    Reply With Quote  
     

  9. #9  
    Registered Member
    .Dan's Avatar
    Join Date
    Sep 2008
    Age
    28
    Posts
    873
    Thanks given
    54
    Thanks received
    115
    Rep Power
    494
    Quote Originally Posted by i r maggot View Post
    How do you not know what that means?
    OutOfMemoryError (Java 2 Platform SE 5.0)
    Explaining java.lang.OutOfMemoryError: PermGen space | Fresh Blurbs

    Quote Originally Posted by Afflicti0n View Post
    Where do i add the -server parameter? I tried and the batch wont run lol.
    Quote Originally Posted by DunnKz View Post
    Code:
    @echo off
    title RL
    "C:\Program Files\Java\jre6\bin\java.exe" -server -Xmx1536m -cp bin;deps/poi.jar;deps/mysql.jar;deps/mina.jar;deps/slf4j.jar;deps/slf4j-nop.jar;deps/jython.jar;log4j-1.2.15.jar; server.Server
    pause
    Reply With Quote  
     

  10. #10  
    Banned

    Join Date
    Jul 2009
    Posts
    3,999
    Thanks given
    1,003
    Thanks received
    1,028
    Rep Power
    0
    Kk iv got same error.

    Error: no `server' JVM at `C:\Program Files\Java\jre6\bin\server\jvm.dll'.
    Press any key to continue . . .
    Reply With Quote  
     

Page 1 of 2 12 LastLast

Thread Information
Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)


User Tag List

Posting Permissions
  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •