|
|
Subject: [android-porting] Re: Profiling ->memory usage - msg#00597
List: android-porting
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 < fadden@xxxxxxxxxxx> wrote:
On Apr 17, 6:57 am, Zhubham < sahilz...@xxxxxxxxx> 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: android-porting+unsubscribe@xxxxxxxxxxxxxxxx
website: http://groups.google.com/group/android-porting
-~----------~----~----~----~------~----~------~--~---
Was this page helpful?
Thread at a glance:
Previous Message by Date:
click to view message preview
[android-porting] Re: start android on top of moblin/ubuntu
I have the ability to replace the moblin kernel, if i replace it with
the kernel i compiled for android. will it work?
Thanks for replying,
Gowtham
On Apr 19, 6:27 am, David Turner <di...@xxxxxxxxxxx> wrote:
> in short, no, Android requires its own init system, specific kernel drivers
> that are probably not in the moblin/ubuntu one, etc...
>
> there are probably some hacks that could make the two systems co-exist (e.g.
> like running Debian in a chroot under Android), but they probably require a
> few non-trivial steps that might be hard to automate right now.
>
> On Sun, Apr 19, 2009 at 1:40 AM, gowtham gowda <gowth...@xxxxxxxxx> wrote:
>
> > is it possible to start android on top of moblin or ubuntu installed
> > on a laptop or netbook?
--~--~---------~--~----~------------~-------~--~----~
unsubscribe: android-porting+unsubscribe@xxxxxxxxxxxxxxxx
website: http://groups.google.com/group/android-porting
-~----------~----~----~----~------~----~------~--~---
Next Message by Date:
click to view message preview
[android-porting] sell af1 jordan shoes , air force one shoes - $36
we supply kinds of brand shoes such as Nike shoe Air Jordan series,
nike Air force One( AF1),af1 25th anniversary shoes, Dunk sb,nike Air
Max 95/97/2003/2004/05/06/TN/360,air max lmt,90/up; Nike Shox TL/TL2/
TL3/NZ/r2/R4//r3/r5/turbo. Also as Adidas, puma, Timberland,bape star
shoes and lacoste, AF,armani,dg,polo t-shirt. Louis
Vuitton ,gucci,chloe ,fendi bags with high quality ,low
price ,Charming model , timely delivery , best service .
please kindly visite our website: http://www.ccshoe.com
msn: ccshoe2008@xxxxxxxxxxx
email: wcl020202@xxxxxxxxx
--~--~---------~--~----~------------~-------~--~----~
unsubscribe: android-porting+unsubscribe@xxxxxxxxxxxxxxxx
website: http://groups.google.com/group/android-porting
-~----------~----~----~----~------~----~------~--~---
Previous Message by Thread:
click to view message preview
[android-porting] Re: Profiling ->memory usage
On Apr 17, 6:57 am, Zhubham <sahilz...@xxxxxxxxx> 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: android-porting+unsubscribe@xxxxxxxxxxxxxxxx
website: http://groups.google.com/group/android-porting
-~----------~----~----~----~------~----~------~--~---
Next Message by Thread:
click to view message preview
[android-porting] Re: Profiling ->memory usage
On Apr 19, 6:58 am, Sahil Arora <sahilz...@xxxxxxxxx> wrote:
> 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 e-mail the *original* hprof file to me? I'm curious to see if
something was generated incorrectly.
--~--~---------~--~----~------------~-------~--~----~
unsubscribe: android-porting+unsubscribe@xxxxxxxxxxxxxxxx
website: http://groups.google.com/group/android-porting
-~----------~----~----~----~------~----~------~--~---
|
|