Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > Java > java.lang.OutOfMemoryError: Java heap space

Reply
Thread Tools

java.lang.OutOfMemoryError: Java heap space

 
 
timasmith@hotmail.com
Guest
Posts: n/a
 
      05-08-2006
Is there any free utilities I can use to view the memory used by all
objects so I can track down the offending code?

thanks

Tim

 
Reply With Quote
 
 
 
 
opalpa@gmail.com opalinski from opalpaweb
Guest
Posts: n/a
 
      05-08-2006
Maybe JConsole will help you out enough.

Cheers.
Opalinski
http://www.velocityreviews.com/forums/(E-Mail Removed)
http://www.geocities.com/opalpaweb/

 
Reply With Quote
 
 
 
 
timasmith@hotmail.com
Guest
Posts: n/a
 
      05-08-2006
Thanks, I figured out how to use hprof and it seems that something went
nuts around date formatting - this trace is repeat hundereds of
times...

sun.text.resources.DateFormatZoneData.getContents( DateFormatZoneData.java:164)
sun.text.resources.DateFormatZoneData.loadLookup(D ateFormatZoneData.java:144)




TRACE 304641:
java.text.DateFormat$Field.<clinit>(DateFormat.jav a:717)
java.text.SimpleDateFormat.<clinit>(SimpleDateForm at.java:87
TRACE 304642:
java.text.AttributedCharacterIterator$Attribute.<i nit>(AttributedCharacterIterator.java:81)
java.text.Format$Field.<init>(Format.java:334)
TRACE 304643:
java.text.Format.<init>(Format.java:116)
java.text.DateFormat.<init>(DateFormat.java:694)
TRACE 304644:
java.text.SimpleDateFormat.<init>(SimpleDateFormat .java:445)
java.text.SimpleDateFormat.<init>(SimpleDateFormat .java:427)
TRACE 304645:
java.text.DateFormatSymbols.<init>(DateFormatSymbo ls.java:102)
java.text.SimpleDateFormat.<init>(SimpleDateFormat .java:445)
TRACE 304646:
java.text.DateFormatSymbols.cacheLookup(DateFormat Symbols.java:413)
java.text.DateFormatSymbols.initializeData(DateFor matSymbols.java:46
TRACE 304647:
java.util.ResourceBundle.<init>(ResourceBundle.jav a:269)
sun.text.resources.DateFormatZoneData.<init>(DateF ormatZoneData.java:64)
TRACE 304648:
java.text.DateFormatSymbols.cacheLookup(DateFormat Symbols.java:419)
java.text.DateFormatSymbols.initializeData(DateFor matSymbols.java:46
TRACE 304649:
java.text.DateFormatSymbols.initializeData(DateFor matSymbols.java:479)
java.text.DateFormatSymbols.<init>(DateFormatSymbo ls.java:103)
TRACE 304650:
java.text.DateFormatSymbols.initializeData(DateFor matSymbols.java:484)
java.text.DateFormatSymbols.<init>(DateFormatSymbo ls.java:103)
TRACE 304651:
sun.text.resources.DateFormatZoneData_en.getConten ts(DateFormatZoneData_en.java:53)
sun.text.resources.DateFormatZoneData.loadLookup(D ateFormatZoneData.java:144)
TRACE 304652:
sun.text.resources.DateFormatZoneData_en.getConten ts(DateFormatZoneData_en.java:53)
sun.text.resources.DateFormatZoneData.loadLookup(D ateFormatZoneData.java:144)
TRACE 304653:
sun.text.resources.DateFormatZoneData.getContents( DateFormatZoneData.java:162)
sun.text.resources.DateFormatZoneData.loadLookup(D ateFormatZoneData.java:144)

 
Reply With Quote
 
 
 
Reply

Thread Tools

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 Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
java.lang.OutOfMemoryError: Java heap space Goofball Java 9 11-08-2006 05:07 PM
How to increase stack space/heap space Ajay C Programming 9 05-14-2006 12:50 AM
Why Python style guide (PEP-8) says 4 space indents instead of 8 space??? 8 space indents ever ok?? Christian Seberino Python 21 10-27-2003 04:20 PM
Re: Why Python style guide (PEP-8) says 4 space indents instead of8 space??? 8 space indents ever ok?? Ian Bicking Python 2 10-23-2003 07:07 AM
Stack space, global space, heap space Shuo Xiang C Programming 10 07-11-2003 07:30 PM



Advertisments