eclipse-memory-analyzer

Clueless About a (Possible) Android Memory Leak

好久不见. 提交于 2019-12-02 23:47:23
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 used eclipse MAT to analyze 3 different points in time: I suspect a memory leak but I can’t really find

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

北慕城南 提交于 2019-12-01 03:36:07
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) You have to install DTJF in order to read IBM files. http://wiki.eclipse.org/MemoryAnalyzer#System_Dumps_and_Heap_Dumps_from_IBM_Virtual_Machines Eclipse download site is at the

How to run Eclipse memory analyzer on Mac os?

孤街醉人 提交于 2019-12-01 02:36:57
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??? Move mat.app to ./Applications solve my problems 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 add those lines ( on two separate lines, and before the vm arguments ), replacing the second with the path where

eclipse memory analyzer sees small part (363,2MB) of entire heap dump (8GB)

╄→гoц情女王★ 提交于 2019-11-29 02:21:19
I was trying to investigate java.lang.OutOfMemoryError: GC limit exceeded which occurs at high load of our web app deployed in tomcat. Heap size was set to 8GB ( -Xms2048m -Xmx8192m ) At some point in time our application become unresponsive due to GC activity overhead. I could see in logs that Full GC was occurring multiple times in a row. So I took heap dump with following command ( jmap -F -dump:format=b,file=/root/dump2.hprof 4963 ). File containing dump was 9GB in size. After dump was taken (app was frozen for about 45minutes), multiple full GCs occured till OutOfMemoryError was thrown.

analyse a HPROF memory dump file from command line programmatically

☆樱花仙子☆ 提交于 2019-11-28 23:06:53
问题 I was investigation with analyzing a HPROF file using Eclipse's Memory Analyser (MAT). The dominator tree, reports and the OQL interface look really useful. But all this has to be done manually from the MAT software. Is there a commandline interface so I can programmatically parse the HPROF and automatically generate custom reports. This would be useful to integrate this a test infrastructure to do a automatic memory analysis. Btw, the heapsize is will be between 10-60MB. 回答1: ParseHeapDump

eclipse memory analyzer sees small part (363,2MB) of entire heap dump (8GB)

做~自己de王妃 提交于 2019-11-27 16:37:37
问题 I was trying to investigate java.lang.OutOfMemoryError: GC limit exceeded which occurs at high load of our web app deployed in tomcat. Heap size was set to 8GB ( -Xms2048m -Xmx8192m ) At some point in time our application become unresponsive due to GC activity overhead. I could see in logs that Full GC was occurring multiple times in a row. So I took heap dump with following command ( jmap -F -dump:format=b,file=/root/dump2.hprof 4963 ). File containing dump was 9GB in size. After dump was

Strange Bitmap using 1 Mb of Heap

て烟熏妆下的殇ゞ 提交于 2019-11-27 12:27:39
问题 Out of curiosity, I just recently tested my Android App for Memory Leaks, using the Eclipse Memory Analyzer. I came across a strange Bitmap with the size of 512 x 512 pixels using up about 1 Megabyte of my devices heap memory. I checked my drawables folder and could not find a bitmap of that size (512 x 512). I started googling and came across this question, where a user explains how to get the actual Image behind a "memory leak" reference in the Memory Analyzer: MAT (Eclipse Memory Analyzer)

MAT (Eclipse Memory Analyzer) - how to view bitmaps from memory dump

大憨熊 提交于 2019-11-27 05:59:44
I'm analyzing memory usage of my Android app with help of Eclipse Memory Analyzer (also known as MAT). Sometimes I can find strange instances of android.graphics.Bitmap class, utilizing big portion of heap. Problem is what I can't find source of this bitmaps, no filename , no resourceID , nothing. All information what I can find for bitmap is following: There is a field mBuffer with array of image pixels, I assume. But it's in some internal Android format, not PNG. Question : how can I view image represented by this bitmap from memory dump? HitOdessit I have found a way to view such bitmaps:

MAT (Eclipse Memory Analyzer) - how to view bitmaps from memory dump

寵の児 提交于 2019-11-26 11:48:40
问题 I\'m analyzing memory usage of my Android app with help of Eclipse Memory Analyzer (also known as MAT). Sometimes I can find strange instances of android.graphics.Bitmap class, utilizing big portion of heap. Problem is what I can\'t find source of this bitmaps, no filename , no resourceID , nothing. All information what I can find for bitmap is following: There is a field mBuffer with array of image pixels, I assume. But it\'s in some internal Android format, not PNG. Question : how can I