[android-developers] Re: Need help using hat to track down memory usage

2008-12-18 Thread Imran
hi i am using Windows Xp , so there is no Cat Command in it, so how can i merge this files heap-dump-tm1213483064-pid4748.hprof-head heap-dump-tm1213483064-pid4748.hprof , i have used Copy Command but with out any Success. Thanks in Advance for any Replays...!!! Cheers, Imran On Dec

[android-developers] Re: Need help using hat to track down memory usage

2008-12-04 Thread Peter Jeffe
Swhen we can we expect to have a memory profiler for Android? I consider it a basic requirement for a mobile development environment to allow memory profiling. Can you explain why you broke the hprof format if you weren't going to release a tool that understands your format? How about ju

[android-developers] Re: Need help using hat to track down memory usage

2008-11-21 Thread Riaz Rahaman
I am facing a similar problem. As per the instruction on monkey usage I generate the profiling data using --hprof option passed to monkey. There are a few files generated in the /data/misc folder. As per the instructions on http://code.google.com/android/reference/monkey.html I tried opening t

[android-developers] Re: Need help using hat to track down memory usage

2008-11-20 Thread fadden
On Nov 20, 9:48 am, qvark <[EMAIL PROTECTED]> wrote: > If the output is not compatible with a standard hprof format, could > somebody at Google point out the differences and the motivations for > them? With such advice we could try to adapt a tool or make the format > compatible with the existing

[android-developers] Re: Need help using hat to track down memory usage

2008-11-20 Thread qvark
If the output is not compatible with a standard hprof format, could somebody at Google point out the differences and the motivations for them? With such advice we could try to adapt a tool or make the format compatible with the existing ones... We are suffering from memory leak problems and we ar

[android-developers] Re: Need help using hat to track down memory usage

2008-11-17 Thread miguelo
Hi Luthien, The adb kill -10 is the command you should launch to generate the associated dump file and I don't think the file will not generate because "kill" command...:-| Are you sure that first you should change the permission of that directory using something like "chmod 777 data" and "chmod

[android-developers] Re: Need help using hat to track down memory usage

2008-11-12 Thread Luthien
Thanks Miguel I has tried to change permissions of folder, but it doesn't work. I find the command "kill" was mean "Terminates the adb server process." Why it could generate the heap-dump file? Did I use the wrong command? please help thank you Regards Luthien On 11月12日, 下午10時26分, miguelo <[EMA

[android-developers] Re: Need help using hat to track down memory usage

2008-11-12 Thread miguelo
Hi Luthien, See your log in DDM perspective, but I think your problem is about permissions, try to change it on that folder: "adb shell chmod 777 /data/misc" Regards, Miguel. On Nov 12, 10:50 am, Luthien <[EMAIL PROTECTED]> wrote: > Hi > I have some question> - Run the following command from a

[android-developers] Re: Need help using hat to track down memory usage

2008-11-12 Thread Luthien
Hi I have some question > - Run the following command from a shell: adb shell kill -10 [pid of > your application] I try this command line but it doesn't generate heap dump file. So I generate the heap dump file via monkey > - This will generate two files on the emulator, in /data/musci. One is >

[android-developers] Re: Need help using hat to track down memory usage

2008-11-11 Thread kohlerm
Hi, I also asked this question several times already. I think having a great memory usage analysis for Android would be a key differentiator compared to other environments. I would be willing to help out the get the Eclipse Memory Analyzer (JHat sucks, sorry :]) to support Android. Why is the h

[android-developers] Re: Need help using hat to track down memory usage

2008-11-10 Thread miguelo
Hello, I've tried with other memory analyzers like JProfiler and Eclipse Memory Analyzer without success :-(. The error was the same, or similar in both cases :-( Memory Analyzer log: !ENTRY org.eclipse.mat.parser 4 0 2008-11-07 18:53:36.265 !MESSAGE Error opening heap dump !SUBENTRY 1 org.ecli

[android-developers] Re: Need help using hat to track down memory usage

2008-11-06 Thread fadden
On Nov 5, 11:12 am, Disco Stu 010 <[EMAIL PROTECTED]> wrote: > java.io.IOException: Version string not recognized at byte 17 >         at hat.parser.HprofReader.readVersionHeader(HprofReader.java:325) >         at hat.parser.HprofReader.read(HprofReader.java:169) >         at hat.parser.Reader.rea

[android-developers] Re: Need help using hat to track down memory usage

2008-11-06 Thread qvark
I posted a similar question some days ago without any success (http:// groups.google.com/group/android-developers/browse_thread/thread/ dddf6d5062dfb6b5/e970f0df5e229380?hl=en&lnk=gst&q=memory +dump#e970f0df5e229380). At least you have got the heap dump (that was the first step). Have you tried