Go Back   Java Programming Forums > Java Standard Edition Programming Help > Exceptions


Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 26-07-2009, 04:00 PM
Junior Member
 

Join Date: Jul 2009
Posts: 27
Thanks: 12
Thanked 0 Times in 0 Posts
mdstrauss is on a distinguished road
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....
Quote:
# 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



Reply With Quote Share this thread on Facebook
Sponsored Links
Java Training from DevelopIntelligence
  #2 (permalink)  
Old 26-07-2009, 05:43 PM
helloworld922's Avatar
Super Moderator
 

Join Date: Jun 2009
Posts: 1,215
Thanks: 5
Thanked 258 Times in 234 Posts
helloworld922 will become famous soon enoughhelloworld922 will become famous soon enoughhelloworld922 will become famous soon enough
Default Re: help with problem havr no idea what it means

I suspect it is low memory:
Quote:
0x0aac3800 JavaThread "Low Memory Detector" daemon [_thread_blocked, id=2428]

Last edited by helloworld922; 07-10-2009 at 05:49 AM.
Reply With Quote
  #3 (permalink)  
Old 26-07-2009, 07:00 PM
Junior Member
 

Join Date: Jul 2009
Posts: 27
Thanks: 12
Thanked 0 Times in 0 Posts
mdstrauss is on a distinguished road
Default Re: help with problem havr no idea what it means

so can i run the program from a portble hard disk..?
Reply With Quote
  #4 (permalink)  
Old 26-07-2009, 08:01 PM
Json's Avatar
Super Moderator
 

Join Date: Jul 2009
Location: Manchester, United Kingdom
Posts: 1,157
Thanks: 54
Thanked 136 Times in 132 Posts
Json will become famous soon enoughJson will become famous soon enoughJson will become famous soon enough

I'm feeling Happy
Default Re: help with problem havr no idea what it means

Try running your program with increased heap space perhaps.

Quote:
java DemoGeter -Xms512m -Xmx512m
Something like that.

// Json
Reply With Quote
  #5 (permalink)  
Old 27-07-2009, 05:41 AM
Truffy's Avatar
Member
 

Join Date: May 2009
Location: Philippines
Posts: 92
Thanks: 2
Thanked 9 Times in 7 Posts
Truffy is on a distinguished road

I'm feeling Angelic
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
Reply With Quote
Reply

Thread Tools
Display Modes

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

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On




100 most searched terms
Search Cloud
2 dimensional arraylist java 2d arraylist java actionlistener actionlistener in java addactionlistener addactionlistener java convert double to integer java double format java double to integer in java double to integer java drag en drop programmeren java eclipse shortcut keys exception in thread "awt-eventqueue-0" java.lang.outofmemoryerror: java heap space exception in thread "main" java.lang.nullpointerexception exception in thread "main" java.lang.outofmemoryerror: java heap space format double in java format double java get mouse position java java 2d arraylist java actionlistener java double format java double formatting java double to int java double to integer java format double java forum java forums java get mouse position java list to map java mouse position java programming forum java programming forums java programming practice problems java send keystrokes to another application java two dimensional arraylist java.io.ioexception: premature eof java.lang.classformaterror: truncated class file java.lang.outofmemoryerror: java heap space java.util.arraylist jbutton action jbutton actionlistener jtextarea font jtextfield font size jxl.read.biff.biffexception: unable to recognize ole stream programming mutators and generics smack api two dimensional arraylist two dimensional arraylist java unable to sendviapost to url what is the smallest positive number that is evenly divisible by all of the numbers from 1 to 20?

All times are GMT. The time now is 02:06 AM.
Powered by vBulletin® Copyright ©2000-2009, Jelsoft Enterprises Ltd.