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

  • SEARCH
  • Home
  • 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 7575405
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 30, 20262026-05-30T16:40:50+00:00 2026-05-30T16:40:50+00:00

A customer is complaining that he’s experiencing a memory leak in our Java application.

  • 0

A customer is complaining that he’s experiencing a memory leak in our Java application.

Despite all my efforts to reproduce his environment, configuration and usage, I wasn’t able to reproduce, and thus identify, the leak.

I’d want to go down another path… Instead of trying to replicate it, maybe I could ask him to generate some view of his heap that would allow me to identify the leak.

Being run by the customer who would send it to me, there are some requirements on this:

  1. Should not contain confidential info
  2. Should be small enough that it can be sent through the internet
  3. Should be generated by an easily available tool (would be best if it was in the Java distribution)

A complete heap dump is impossible because of 1. and 2.

Most of all, it should allow me to find the leak. So it should at least show the retained heap size for objects of each class (size of itself + everything it keeps a reference to).
jmap -histo is definitely not good enough.

 num     #instances         #bytes  class name
----------------------------------------------
   1:         14156      577318512  [B
   2:          9196       47439696  [I
   3:         83396        9809992  [C

Is something like that useful at all? I don’t think so.

  • 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-05-30T16:40:51+00:00Added an answer on May 30, 2026 at 4:40 pm

    Is the customer allowed to do a memory dump himself without sending it to you?

    If that is possible, the Eclipse Memory Analyzer has a really easy to use wizard which will generate a leak suspect report. The report itself is very small.

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

Sidebar

Related Questions

Our customer is complaining that our export file is too long; they would like
The customer wants us to log the actions that a user performs on our
a customer wants enable a chat/instant messenger for his application webside. He is using
A customer cannot run our Java program. The shortcut executes a 32-bit copy of
One of our customer reported an exception in our application. The problem is, I
Our customer would like to know who is online and currently using the custom
A customer's application AppName has its configuration files stored in CommonAppData. Under Windows XP
Problem: Customer X has requested that pages using XML DataBinding and Databound tables in
Background: Customer X is a low-budget non-profit outfit that nonetheless has a lot of
My customer wants to display week numbers as they show up in his wall

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.