Welcome to the Java Programming Forums


The professional, friendly Java community. 21,500 members and growing!


The Java Programming Forums are a community of Java programmers from all around the World. Our members have a wide range of skills and they all have one thing in common: A passion to learn and code Java. We invite beginner Java programmers right through to Java professionals to post here and share your knowledge. Become a part of the community, help others, expand your knowledge of Java and enjoy talking with like minded people. Registration is quick and best of all free. We look forward to meeting you.


>> REGISTER NOW TO START POSTING


Members have full access to the forums. Advertisements are removed for registered users.

Results 1 to 5 of 5

Thread: help with problem havr no idea what it means

  1. #1
    Junior Member
    Join Date
    Jul 2009
    Posts
    27
    Thanks
    12
    Thanked 0 Times in 0 Posts

    Default help with problem havr no idea what it means

    i have an arraylist of 7000 files that i send to an comparator if i send an array with 2000 everything works but over that ioexeptions are thrown and other things what is the problem no memory ?? defective file ??? someone please tell me i do not understand....
    # An unexpected error has been detected by Java Runtime Environment:
    #
    # Internal Error (4D555445583F57494E13120E4350500075), pid=2532, tid=2544
    #
    # Java VM: Java HotSpot(TM) Client VM (1.6.0-b105 mixed mode)
    # Can not save log file, dump to screen..
    #
    # An unexpected error has been detected by Java Runtime Environment:
    #
    # Internal Error (4D555445583F57494E13120E4350500075), pid=2532, tid=2544
    #
    # Java VM: Java HotSpot(TM) Client VM (1.6.0-b105 mixed mode)
    # 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 (0x002a6000): JavaThread "main" [_thread_in_vm, id=2544]

    Stack: [0x008c0000,0x00910000)
    [error occurred during error reporting, step 110, id 0xc0000005]

    Java frames: (J=compiled Java code, j=interpreted, Vv=VM code)
    j java.nio.CharBuffer.arrayOffset()I+0
    j sun.nio.cs.SingleByteEncoder.encodeArrayLoop(Ljava/nio/CharBuffer;Ljava/nio/B
    yteBufferLjava/nio/charset/CoderResult;+17
    j sun.nio.cs.SingleByteEncoder.encodeLoop(Ljava/nio/CharBuffer;Ljava/nio/ByteBu
    fferLjava/nio/charset/CoderResult;+17
    j java.nio.charset.CharsetEncoder.encode(Ljava/nio/CharBuffer;Ljava/nio/ByteBuf
    fer;Z)Ljava/nio/charset/CoderResult;+57
    j sun.nio.cs.StreamEncoder.implWrite([CII)V+41
    j sun.nio.cs.StreamEncoder.write([CII)V+60
    j java.io.OutputStreamWriter.write([CII)V+7
    j java.io.BufferedWriter.flushBuffer()V+34
    j java.io.PrintStream.newLine()V+19
    j java.io.PrintStream.println(Ljava/lang/StringV+10
    J Id3Tag.<init>(Ljava/io/FileV
    J Mp3Comparator.compare(Ljava/io/File;Ljava/io/FileI
    J Mp3Comparator.compare(Ljava/lang/Object;Ljava/lang/ObjectI
    j java.util.Arrays.mergeSort([Ljava/lang/Object;[Ljava/lang/Object;IIILjava/uti
    l/ComparatorV+195
    j java.util.Arrays.sort([Ljava/lang/Object;Ljava/util/ComparatorV+34
    j java.util.Collections.sort(Ljava/util/List;Ljava/util/ComparatorV+9
    j DemoGeter.main([Ljava/lang/StringV+89
    v ~StubRoutines::call_stub

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

    Java Threads: ( => current thread )
    0x0aac3800 JavaThread "Low Memory Detector" daemon [_thread_blocked, id=2428]
    0x0aabec00 JavaThread "CompilerThread0" daemon [_thread_in_native, id=2664]
    0x0aab8400 JavaThread "Attach Listener" daemon [_thread_blocked, id=736]
    0x0aabd800 JavaThread "Signal Dispatcher" daemon [_thread_blocked, id=2620]
    0x0aaa6800 JavaThread "Finalizer" daemon [_thread_blocked, id=2184]
    0x0aaa2000 JavaThread "Reference Handler" daemon [_thread_blocked, id=2180]
    =>0x002a6000 JavaThread "main" [_thread_in_vm, id=2544]

    Other Threads:
    0x0aa9f000 VMThread [id=2348]
    0x0aac5000 WatcherThread [id=520]

    VM state:not at safepoint (normal execution)

    VM Mutex/Monitor currently owned by a thread: ([mutex/lock_event])
    [0x002a4cb8/0x000006c0] CompileTaskAlloc_lock - owner thread: 0x002a6000
    [0x002a4dc8/0x0000069c] MethodCompileQueue_lock - owner thread: 0x002a6000

    Heap
    def new generation total 960K, used 524K [0x02990000, 0x02a90000, 0x02e70000)

    eden space 896K, 58% used [0x02990000, 0x02a12ee0, 0x02a70000)
    from space 64K, 0% used [0x02a70000, 0x02a701b0, 0x02a80000)
    to space 64K, 0% used [0x02a80000, 0x02a80000, 0x02a90000)
    tenured generation total 4096K, used 1083K [0x02e70000, 0x03270000, 0x0699000
    0)
    the space 4096K, 26% used [0x02e70000, 0x02f7ef60, 0x02f7f000, 0x03270000)
    compacting perm gen total 12288K, used 1797K [0x06990000, 0x07590000, 0x0a9900
    00)
    the space 12288K, 14% used [0x06990000, 0x06b516e8, 0x06b51800, 0x07590000)
    No shared spaces configured.

    Dynamic libraries:
    0x00400000 - 0x00423000 C:\Program Files\Java\jdk1.6.0\bin\java.exe
    0x7c900000 - 0x7c9b2000 C:\WINDOWS\system32\ntdll.dll
    0x7c800000 - 0x7c8f6000 C:\WINDOWS\system32\kernel32.dll
    0x77dd0000 - 0x77e6b000 C:\WINDOWS\system32\ADVAPI32.dll
    0x77e70000 - 0x77f02000 C:\WINDOWS\system32\RPCRT4.dll
    0x77fe0000 - 0x77ff1000 C:\WINDOWS\system32\Secur32.dll
    0x7c340000 - 0x7c396000 C:\Program Files\Java\jdk1.6.0\jre\bin\msvcr71.d
    ll
    0x6d7c0000 - 0x6da07000 C:\Program Files\Java\jdk1.6.0\jre\bin\client\jv
    m.dll
    0x7e410000 - 0x7e4a1000 C:\WINDOWS\system32\USER32.dll
    0x77f10000 - 0x77f59000 C:\WINDOWS\system32\GDI32.dll
    0x76b40000 - 0x76b6d000 C:\WINDOWS\system32\WINMM.dll
    0x629c0000 - 0x629c9000 C:\WINDOWS\system32\LPK.DLL
    0x74d90000 - 0x74dfb000 C:\WINDOWS\system32\USP10.dll
    0x6d310000 - 0x6d318000 C:\Program Files\Java\jdk1.6.0\jre\bin\hpi.dll
    0x76bf0000 - 0x76bfb000 C:\WINDOWS\system32\PSAPI.DLL
    0x6d770000 - 0x6d77c000 C:\Program Files\Java\jdk1.6.0\jre\bin\verify.dl
    l
    0x6d3b0000 - 0x6d3cf000 C:\Program Files\Java\jdk1.6.0\jre\bin\java.dll
    0x6d7b0000 - 0x6d7bf000 C:\Program Files\Java\jdk1.6.0\jre\bin\zip.dll

    VM Arguments:
    java_command: DemoGeter
    Launcher Type: SUN_STANDARD

    Environment Variables:
    CLASSPATH=.;C:\Program Files\QuickTime\QTSystem\QTJava.zipk;C:\Program Files\Jav
    a\jdk1.6.0\bin
    PATH=C:\Program Files\PC Connectivity Solution\;C:\Program Files\Java\jdk1.6.0\b
    in;;C:\Program Files\Java\jdk1.6.0\bin
    USERNAME=Strauss
    OS=Windows_NT
    PROCESSOR_IDENTIFIER=x86 Family 6 Model 8 Stepping 1, AuthenticAMD


  2. #2
    Super Moderator helloworld922's Avatar
    Join Date
    Jun 2009
    Posts
    2,896
    Thanks
    23
    Thanked 619 Times in 561 Posts
    Blog Entries
    18

    Default Re: help with problem havr no idea what it means

    I suspect it is low memory:
    0x0aac3800 JavaThread "Low Memory Detector" daemon [_thread_blocked, id=2428]
    Last edited by helloworld922; October 7th, 2009 at 01:49 AM.

  3. #3
    Junior Member
    Join Date
    Jul 2009
    Posts
    27
    Thanks
    12
    Thanked 0 Times in 0 Posts

    Default Re: help with problem havr no idea what it means

    so can i run the program from a portble hard disk..?

  4. #4
    Super Moderator Json's Avatar
    Join Date
    Jul 2009
    Location
    Warrington, United Kingdom
    Posts
    1,274
    My Mood
    Happy
    Thanks
    70
    Thanked 156 Times in 152 Posts

    Default Re: help with problem havr no idea what it means

    Try running your program with increased heap space perhaps.

    java DemoGeter -Xms512m -Xmx512m
    Something like that.

    // Json

  5. #5
    Member Truffy's Avatar
    Join Date
    May 2009
    Location
    Philippines
    Posts
    93
    Thanks
    2
    Thanked 9 Times in 7 Posts

    Default Re: help with problem havr no idea what it means

    Quote Originally Posted by Json View Post
    Try running your program with increased heap space perhaps.



    Something like that.

    // Json
    Or if you are using a netbeans, right click the project folder then properties then choose Run then put -Xmx512m.

    Cheers,
    Truffy