hprof Questions

6

I would like to push my project into the github, however i just notice there is a file called java_pid14920.hprof inside the android folder and cause around 300MB remote: error: File android/java_...
Rosinski asked 31/10, 2019 at 15:12

3

Solved

I have tried to take a heap dump using jcmd (from a git bash console window): $ /c/Program\ Files/Java/jdk1.8.0_202/bin/jcmd 25156 GC.heap_dump filename=livetest-grindtohalt.hprof 25156: Heap dump...
Cornwall asked 23/10, 2019 at 9:27

5

I am using jdk64 and my java version is "1.6.0_24". My tomcat is running with -Xmx7196m, and jvisualvm is running with -J-Xms2048m -J-Xmx3072m. I took a heap dump of my tomcat java process and size...
Tog asked 11/3, 2014 at 6:40

2

Solved

Does anyone know a reference for the .hprof (binary heap dumps) file format? Does anyone know libraries that handle .hprof files? I know that hat does that and also VisualVM through a NetBeans plu...
Bagel asked 25/8, 2009 at 16:7

2

Solved

HPROF Analyzer/Analyzer tasks is a great tool in android studio 2 which helps detect memory leaks. It's less time-consuming than using the eclipse MAT tool. However, I couldn't find it using the ne...
Flowerpot asked 22/9, 2017 at 11:19

1

Solved

I have an android project on my C:/ drive which Android Studio points to. I have noticed that when i Zip up the project folder, it has gone from say 20 MB to 42 GB. There are lots of hprof files. ...
Malignity asked 4/10, 2017 at 12:46

2

In my work, we are running into a difficult to reproduce OOM issue. Or, more accurately, it is very easy to reproduce on one system, making that system unusable, but difficult to reproduce anywhere...
Peritoneum asked 16/6, 2017 at 20:49

7

Solved

I have got a large (5GB) hprof dump, created by application when OutOfMemoryError occurred. (Using XX: HeapDumpOnOutOfMemoryError ). Unfortunately there are no logs collected when this error happ...
Cletis asked 12/9, 2012 at 5:5

1

Solved

From time to time I use the Memory Monitor and HPROF Viewer in Android Studio to check for any memory leaks and memory usage in general. I believe I know the meaning of most symbols and colours us...
Burden asked 5/8, 2016 at 7:58

4

I have a java process which is acting dubiously. I'd like to see what's up using the various HPROF analysis tools. How do I generate one on the fly?
Lecythus asked 26/2, 2010 at 19:58

1

Solved

Using the Android Memory Monitor, especially its "Dump Java Heap" feature, I am currently hunting down memory leaks in my app. On the left of Android Studio's dump/HPROF view there is an option to ...
Binate asked 30/6, 2016 at 9:44

2

Solved

Can someone tell me what does bold, blue one and red one positions in HPROF Viewer in Android Studio means exactly ? I ask about one in Reference Tree panel. Best regards.
Polemoniaceous asked 27/2, 2016 at 20:18

2

I created a heap dump file with hprof using this command: java -agentlib:hprof -cp "..\..\jars\trove.jar;.\bin" com.mysite.MyApp This successfully created the file "java.hprof.txt" which was abo...
Dentil asked 9/5, 2013 at 12:11

2

Solved

How do I run hprof from sbt? Are there different options to profile the CPU vs. the heap?
Laith asked 8/4, 2011 at 19:59

1

Solved

After dumping heap in Android Studio and viewing the created snapshot, there's a field called "dominating size". What does it stand for?
Hydrolytic asked 28/10, 2015 at 19:21

0

I have an instance of an app server's heap dump (hprof). How do I use visualvm or any other tool to inspect leaking File descriptors? I did check the file descriptors in use by running sudo lsof...
Carrot asked 9/3, 2015 at 20:53

3

Solved

The sun JVM supports a -XX:+HeapDumpOnOutOfMemoryError option to dump heap whenever a java process runs out of heap. Is there a similar option on Android that will make an android app dump heap on...
North asked 25/5, 2011 at 22:34

1

Solved

From time to time, especially when implementing new functionalities in my app, I use DDMS + HPROF to analyze memory and heap use. As the App doesn't seem to have any performance-ANR issues and ever...
Graveyard asked 22/1, 2014 at 18:40

1

I am trying to programmatically analyze an hprof file. Using the hprof-conv tool in the android-sdk I generated a bunch of com.your.package.index files. How do I programmatically parse these .inde...
Nitrogenous asked 12/4, 2013 at 19:56

2

Solved

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...

2

Solved

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 fro...
Lollis asked 12/4, 2013 at 17:46

1

Solved

I am trying to selectively monitor/profile a Java application when certain runtime conditions are met. I am already able to dump the heap on-the-fly using the HotSpotDiagnosticMXBean, which has bee...
Cankered asked 22/10, 2011 at 23:30

2

Word on the street is that for loops in scala are slower than while loops. Slow: for (i <- 0 until 10000) { f(i) } Fast: var i = 0 while (i < 10000) { f(i) i += 1 } How do I use hp...
Venerate asked 16/10, 2011 at 21:54

2

Solved

I have some Clojure code that is simulating and then processing numerical data. The data are basically vectors of double values; the processing mainly involves summing their values in various ways....
Stanwin asked 28/8, 2011 at 19:18

1

how can I count objects in Eclipse MAT using OQL syntax? This doesn't work : SELECT count(a) FROM org.hibernate.engine.EntityEntry a WHERE (toString(a.entityName)="my.pojo") (I want to count t...
Erase asked 12/5, 2011 at 10:22

© 2022 - 2024 — McMap. All rights reserved.