eclipse-memory-analyzer

Memory Analyzer (MAT) plugin not opening heap prof in MAT Eclipse 4.1.2 automatically

依然范特西╮ 提交于 2020-01-24 03:22:05
问题 Eclipse SDK Version: 4.1.2 Build id: M20120223-0900 Memory Analyzer 1.1.1.201108240735 Eclipse Memory Analyzer Hi, I have updated my eclipse to latest version, also installed Eclipse MAT plugin but when I click "dump HPROF file" it doesn't opens in in MAT rather gives me option to save the HPROF file. Previously it automatically opens it in eclipse MAT. Please tell me how to fix this ? I have also switched to "Memory Analysis" perspective and tried to open HPROF file but it throws me

Memory leak due to more number of instances of org.jboss.vfs.spi.JavaZipFileSystem

对着背影说爱祢 提交于 2020-01-16 11:08:05
问题 We are using JBoss eap 6.4. We are running into heap issues(out f memory error) when the application is deployed and accessed.Created a heap dump file to investigate more. Analyzed the heap dump file using Eclipse MAT tool. MAT tool is complaining abut the following leak. Problem Suspect 1 183 instances of "org.jboss.vfs.spi.JavaZipFileSystem", loaded by "org.jboss.modules.ModuleClassLoader @ 0xe0884088" occupy 24,507,432 (14.20%) bytes. Biggest instances: •org.jboss.vfs.spi.JavaZipFileSystem

Java HeapDumps indicate that used Heap Size is 30% smaller than actual heap definition after OutOfMemory exceptions

▼魔方 西西 提交于 2020-01-07 07:43:11
问题 I have a handful of heap dumps that I am analyzing after the JVM has thrown OutOfMemory exceptions. I'm using Hotspot JDK 1.7 (64bit) on a Windows 2008R2 platform. The application server is a JBoss 4.2.1GA, launched via the Tanuki Java Service Wrapper. It is launched with the following arguments: wrapper.java.additional.2=-XX:MaxPermSize=256m wrapper.java.initmemory=1498 wrapper.java.maxmemory=3000 wrapper.java.additional.19=-XX:+HeapDumpOnOutOfMemoryError which translate to: -Xms1498m

'heapdump.xxx.phd'. Not a HPROF heap dump (java.io.IOException) Not a HPROF heap dump

喜欢而已 提交于 2019-12-30 08:12:12
问题 The Eclipse Memory Analyser docs say it can open IBM portable heap dump files (*.phd): http://help.eclipse.org/luna/index.jsp?topic=/org.eclipse.mat.ui.help/welcome.html However, when I try to open one I get and error: 'heapdump.xxx.phd'. Check the error log for further details. Not a HPROF heap dump (java.io.IOException) Not a HPROF heap dump I've tried both menu options (File > Open Heap Dump) and (File > Open File) 回答1: You have to install DTJF in order to read IBM files. http://wiki

How can I find the local variables in Heap file

柔情痞子 提交于 2019-12-23 08:50:50
问题 I have a j2ee application and monitoring it by visualVM. Lets say that I have a method like this: public void doStuff(int param) { String s = getStringVariable(param); StringBuilder sb = new StringBuilder(); //Do stuff with sb object } From the thread tap, I can see that some of my threads stuck in the above method. So I have generated a heap dump file to figure out what is s and sb contains. But how can I do that? I am using Eclipse Memory Analyzer. 回答1: you can get the local variable's from

How to run Eclipse memory analyzer on Mac os?

送分小仙女□ 提交于 2019-12-19 05:08:41
问题 I have some issues with running Eclipse memory analyzer on my laptop. This happen when i have just downloaded(from the place) and executed application: And i can't figure out what is the cause of problem. Can someone help me??? 回答1: Move mat.app to ./Applications solve my problems 回答2: It looks like a permission problem with the default directory. From this discussion : Memory Analyzer » Setting up workspace directory?. It is indicated that you should edit your MemoryAnalyzer.ini file, and

Compare heap dump (HPROF) files

谁说我不能喝 提交于 2019-12-06 18:39:29
问题 Is it possible to compare two HPROF files? How? 回答1: From what I found you can compare only histograms of object. For this go to "Histogram" view, then click "Compare to another Heap Dump" and select another hprof file. Here is screenshot: 来源: https://stackoverflow.com/questions/6241965/compare-heap-dump-hprof-files

How to find out IDs or names of preloaded system drawables (bitmaps) from memory dump

倾然丶 夕夏残阳落幕 提交于 2019-12-04 13:12:09
问题 I'm analyzing memory usage of our app, and has found strange Drawables , which constantly "eats" few megabytes of heap. Here are few screenshots from MAT: Dominator tree with 2 pretty big bitmaps Path to GC roots for one of above bitmaps This bitmaps always appears in heap dumps from my phone ( Samsung Galaxy Nexus, OS 4.1.1 ), no matter how long or how intensive I use our app. I've already tried to search the source of this bitmaps using MAT - with no luck. All usefull information I was able

Clueless About a (Possible) Android Memory Leak

限于喜欢 提交于 2019-12-03 08:24:18
问题 I’ve been facing some annoying OutOfMemoryErrors , even after making sure that all my Bitmaps are properly scaled etc. In fact, the issue doesn’t seem to be related to Bitmaps at all, but I may be wrong. For testing and error-isolation purposes, I’ve been switching between two activities (let’s call them Main and List) using my Navigation Drawer (not using the back button). I can see in the DDMS that the allocated memory increases around 180 KB every time I return. I’ve done memory dumps and

How to find out IDs or names of preloaded system drawables (bitmaps) from memory dump

烂漫一生 提交于 2019-12-03 08:09:52
I'm analyzing memory usage of our app, and has found strange Drawables , which constantly "eats" few megabytes of heap. Here are few screenshots from MAT : Dominator tree with 2 pretty big bitmaps Path to GC roots for one of above bitmaps This bitmaps always appears in heap dumps from my phone ( Samsung Galaxy Nexus, OS 4.1.1 ), no matter how long or how intensive I use our app. I've already tried to search the source of this bitmaps using MAT - with no luck. All usefull information I was able to find was width and height of bitmaps, it's both 512x512: But our app doesn't have any single