Hi,

I am trying to convert the hprof generated by android to standard
format using the code at http://bigflake.com/HprofConv.c.txt. For this
i goto unix and
1) type gcc HprofConv.c (this is the file containg the code from above
link)
2) next i type,          ./a.out heap-profile.hprof standard1.hprof

This creates the standard1.hprof file. On double clicking this file
JProfiler tries to open this file, but, the following error comes:

"An unrecoverable error occured:
java.lang.ArithmeticEception: / by zero"

Can you please help me to come out of this..

Thanks in advance

Best Regards,
Zhubham

On Sat, Apr 18, 2009 at 12:49 AM, fadden <[email protected]> wrote:

>
> On Apr 17, 6:57 am, Zhubham <[email protected]> wrote:
> > This has concern to the profiling discussion @
> http://groups.google.com/group/android-developers/browse_thread/threa...
> >
> > As mentioned in the second message, i can generate the hprof files.
> > But I m facing difficulty in opening this file using Jprofiler. Can u
> > please help me out??
>
> You need to convert them with hprof-conv before standard tools will
> read them.
>
> This tool exists in recent source trees, in dalvik/tools/hprof-conv,
> and might be in the 1.5 "early look" SDK (I haven't checked).  If all
> else fails you can download it from http://bigflake.com/HprofConv.c.txt
> and build it yourself (it should compile stand-alone, no Android
> components needed).
>
> >
>

--~--~---------~--~----~------------~-------~--~----~
unsubscribe: [email protected]
website: http://groups.google.com/group/android-porting
-~----------~----~----~----~------~----~------~--~---

Reply via email to