Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 9268207
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 18, 20262026-06-18T14:45:05+00:00 2026-06-18T14:45:05+00:00

I am trying to analyze a heap dump of my Java applet which runs

  • 0

I am trying to analyze a heap dump of my Java applet which runs out of heapspace even if i increase the heap size as shown in this post. Applet: Java heap space

Now i took some heap dumps today morning (yes..its possible to take digital dumps) and im trying to analyze them with MAT and Visual VM 1.3.5. After running the leak test, the key suspects were org.eclipse.jdt.internal.core.JavaModelManager and org.eclipse.jst.jee.archive.internal.ArchiveImpl.. I HAVENT USED ANY OF THESE IN MY CODE.

Visual Vm shows that the highest space is taken by Byte[], Int[], Char[], java.lang.string and short[] classes. I am not using too many of these in my program. How should i understand this dump and what should be my next steps? I can post a copy of the dump if needed.

Update: MAT is better than visual VM in my case here. I have been taking dumps (again.. digital dumps) and analyzing them with both tools since morning. While VVM shows org.eclipse.jdt.internal.core.JavaModelManager and org.eclipse.jst.jee.archive.internal.ArchiveImpl as the suspects in its leak suspect reports, Eclipse memory analuzer (MAT) shows that my swing application is making thumbnails of images in a folder (each image is about 100kb) and showing them as a JToggleButton. But once the thumbnails are added, the JtoggleButton size is 6MB.. hence if there are a 100 images in a folder, the thumbnails of the images will be 600MB atleast. and besides that, i need to do other stuff with this program.. MAT helped in this case to identify the exact objects that took most heap space.

Thanks
DJ.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-18T14:45:06+00:00Added an answer on June 18, 2026 at 2:45 pm

    1)I created the heap dump using Jconsole at different points of running the program,
    2)Imported them into Memory analyzer
    3)Ran a leak suspect report
    4)observed the sizes of the biggest instances and the number of them.
    This showed me the problem and im trying to solve it and i dont know how .. yet. Atleast glad i found out about MAT and its definitely more helpful than Visual VM in my case. hope it helps someone else. below is the link to my next question.

    swing applet.. jtogglebutton size is 6mb. how can i reduce the size

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I'm trying to analyse a ~800mb heap dump, which requires a bigger heap than
Using java I am trying to develop a method using recursion to analyze a
I'm trying to analyze core dump, but i get following result. If i make
I'm trying to analyze Java source files with Clojure but I couldn't find a
is there an open source tainting tool? I am trying to analyze a Java
We are trying to analyze a w3wp memory dump using windbg and we found
I have this mysql query that I am trying to analyze. It is very
I am trying to analyze a large corpus of documents, which are in a
I am trying to write a program to analyze Java source code, for example,
I'm trying to analyze logs using splunk and I need to parse lines that

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.