Skip to main content

All Questions

Tagged with
1 vote
0 answers
101 views

How can I extract from a heap dump instances allocated from a single thread?

I have an application with degrading performance. I have analyzed its behavior using Java VisualVM. I detected a group of threads in a pool that increase their allocated bytes on each execution. So, I ...
gabyly's user avatar
  • 23
1 vote
0 answers
71 views

Which mode (Sampled / Instrumented) in a memory profiler should I use to be sure I got rid of a memory leak in Java?

My Java app is experiencing a memory leak which I am trying to tackle. However depending on which mode I select during the profiling run I get opposite results. Consequently I am not sure the memory ...
HelloWorld's user avatar
  • 2,355
0 votes
2 answers
429 views

What does it mean when an object is only referenced by 'this$0' in a heap dump analysis?

I analyzed a heap dump to find out why some multiple instances of a certain class are still in memory even after their purpose is over. What I found out is that the only reference to each instance is ...
Imal's user avatar
  • 581
0 votes
1 answer
134 views

Application is crashing when record allocation stacktraces option is selected in VisualVM memory profiling

Application is crashing when "record allocation stack traces" option is selected in VisualVM memory profiling. I am using VisualVM available as part of JDK 1.8 As per below link VisualVM in JDK 1.8 ...
Rob Wilkinson's user avatar
6 votes
0 answers
2k views

Spring AOP Memory Leak - Misconfiguration?

I am investigating the memory leak for quite a while now and I can not figure it out. Basically my application queries a rest service around 20 times per minute, creates POJOs from the result and ...
olli93's user avatar
  • 91
1 vote
0 answers
647 views

Finding Class type of a Tomcat thread to solve a memory leak

There is an apache tomcat spring based web-application running that is serving an api and also running some threads. There has been a memory issue and the application stopped working. I restarted ...
Saky's user avatar
  • 454
1 vote
1 answer
479 views

Find 2 equals objects in different heap dump using visualvm

I have some memory leak in my java application. I've made 2 heap dumps using jmap. And I see that there is 200 of objects which grow up and I suppouse that it's the reason of memory leak. But I need ...
alex's user avatar
  • 970
0 votes
0 answers
198 views

Extended JTextField Memory Leak

I think I have a memory leak, although I'm not sure if I'm interpreting any of this correctly. I am running an application that queries an SQL database for information that I subsequently put into two ...
Jonathon Anderson's user avatar
0 votes
1 answer
850 views

Analyse memory leak with VisualVM

My web application has memory leak issue which is hosted on Apache Tomcat 7.0.22 server. I tried VisualVM 1.3.8 to identify memory leak but couldn't reach to root cause. Below is my finding: There ...
Rentius2407's user avatar
  • 1,148
2 votes
3 answers
276 views

Java Memory Leak - find all objects of class X not referenced by class Y

I have a memory leak in Java in which I have 9600 ImapClients in my heap dump and only 7800 MonitoringTasks. This is a problem since every ImapClient should be owned by a MonitoringTask, so those ...
djechlin's user avatar
  • 60.7k
6 votes
3 answers
3k views

java memory leak, visualvm showing wrong data

I've a java application running, after few hours it fulfills memory. I've tried to detect memory leak with visualvm but it shows wrong data (have no idea how that can happen). In the screenshot you ...
vach's user avatar
  • 11.4k
0 votes
1 answer
2k views

How to find memory leaks using VisualVM 1.3.6?

I am following this tutorial to find memory leaks. I did all the following steps (on page 6) and the results are as following. The problem is that I am not sure if this result are good or not and if ...
J888's user avatar
  • 1,964
0 votes
0 answers
536 views

Java VisualVM - CPU Sampler - find performance issues

I have a serious problem with a java application which is eating the cpu with the time. So I installed VisualVM and saw this: Something is creating more and more Threads, while the application isn´t ...
user2693017's user avatar
  • 1,860
1 vote
1 answer
2k views

VisualVM memory Leaks?

I am trying to detect the memory leaks in my java application using VisualVM. I am using the VisualVM 1.3.5. I followed the steps which should be said in this tutorial http://rejeev.blogspot.in/2009/...
Human Being's user avatar
  • 8,377
1 vote
2 answers
2k views

java memory leak using visualvm

I've started to debug my software using visualVM. I only started to get familliar with this software. I have memory leak. I found sth that is suspected, but dont know what to make of it. What is the ...
user502967's user avatar

15 30 50 per page