Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsWhite Papers
Discussion GroupsFirst AidDatabasesJavaBeansGUIJava 3DVirtual MachineCORBASecurityToolsGeneral
Java DirectoryOpen Source ProjectsSample Book ChaptersUser GroupsWeb Resources
Related Topics
Databases.NETMore Topics ...

Java Forum / General / May 2006

Tip: Looking for answers? Try searching our database.

java.lang.OutOfMemoryError: Java heap space

Thread view: 
timasmith@hotmail.com - 08 May 2006 02:39 GMT
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
opalpa@gmail.com opalinski from opalpaweb - 08 May 2006 03:02 GMT
Maybe JConsole will help you out enough.

Cheers.
Opalinski
opalpa@gmail.com
http://www.geocities.com/opalpaweb/
timasmith@hotmail.com - 08 May 2006 04:35 GMT
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(DateFormatZoneData.java:144)

TRACE 304641:
    java.text.DateFormat$Field.<clinit>(DateFormat.java:717)
    java.text.SimpleDateFormat.<clinit>(SimpleDateFormat.java:878)
TRACE 304642:
    java.text.AttributedCharacterIterator$Attribute.<init>(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>(DateFormatSymbols.java:102)
    java.text.SimpleDateFormat.<init>(SimpleDateFormat.java:445)
TRACE 304646:
    java.text.DateFormatSymbols.cacheLookup(DateFormatSymbols.java:413)
    java.text.DateFormatSymbols.initializeData(DateFormatSymbols.java:468)
TRACE 304647:
    java.util.ResourceBundle.<init>(ResourceBundle.java:269)
    sun.text.resources.DateFormatZoneData.<init>(DateFormatZoneData.java:64)
TRACE 304648:
    java.text.DateFormatSymbols.cacheLookup(DateFormatSymbols.java:419)
    java.text.DateFormatSymbols.initializeData(DateFormatSymbols.java:468)
TRACE 304649:
    java.text.DateFormatSymbols.initializeData(DateFormatSymbols.java:479)
    java.text.DateFormatSymbols.<init>(DateFormatSymbols.java:103)
TRACE 304650:
    java.text.DateFormatSymbols.initializeData(DateFormatSymbols.java:484)
    java.text.DateFormatSymbols.<init>(DateFormatSymbols.java:103)
TRACE 304651:
    sun.text.resources.DateFormatZoneData_en.getContents(DateFormatZoneData_en.java:53)
    sun.text.resources.DateFormatZoneData.loadLookup(DateFormatZoneData.java:144)
TRACE 304652:
    sun.text.resources.DateFormatZoneData_en.getContents(DateFormatZoneData_en.java:53)
    sun.text.resources.DateFormatZoneData.loadLookup(DateFormatZoneData.java:144)
TRACE 304653:
    sun.text.resources.DateFormatZoneData.getContents(DateFormatZoneData.java:162)
    sun.text.resources.DateFormatZoneData.loadLookup(DateFormatZoneData.java:144)


Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2009 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.