Hi Sandy,

I'm bit of an amatuer, and other people here know a lot more about
this than I do.

Have a look at this blog...

http://ttlnews.blogspot.com/2010/01/attacking-memory-problems-on-android.html

It will help you with some of the automated heap dump stuff I think
you are looking for. I had all sorts of memory leak problems until I
found this.

As for the rest, maybe someone else will respond as I haven't really
gone into that yet.

All the best,
Geoff

On May 4, 2:42 am, Sandy <snarr...@gmail.com> wrote:
> Can someone please help answer these questions?
>
> On Apr 29, 2:41 pm, Sandy <snarr...@gmail.com> wrote:
>
>
>
> > I'm trying to figure out a way to do the following in android,
> > appreciate any help on this.
>
> > 1. How to generate a Full Java stack trace (basically thread stack) in
> > Android. In J2SE, we use to use something like this -  send a signal
> > to the JVM; the JVM generates a stack trace for you; or we can also
> > usedebuggingtools or Java API calls like Thread.dumpStack. What are
> > the android equivalents to get the same output?
> > .
> > 2. How to generate a java heap dump? And are there any tools to
> > analyze the heap dumps ?
>
> > 3. Does thread and heap dump be generated if the Application crashes
> > due to a segment violation ? Where does the core files be generated?
>
> > 4. Are there any profiling APIs in android APIs that will allow to
> > measure the UI performance and responsiveness (basically times taken
> > to launch an activity/application and also times taken to scroll a
> > list)?
>
> > 5. Is there a tool similar to hprof that is available in J2SE for CPU
> > usage, heap allocation statistics etc?
>
> > 6. Tool on GC activities..
>
> > Thanks in advance,
> > Sandy
>
> > --
> > You received this message because you are subscribed to the Google
> > Groups "Android Developers" group.
> > To post to this group, send email to android-developers@googlegroups.com
> > To unsubscribe from this group, send email to
> > android-developers+unsubscr...@googlegroups.com
> > For more options, visit this group 
> > athttp://groups.google.com/group/android-developers?hl=en
>
> --
> You received this message because you are subscribed to the Google
> Groups "Android Developers" group.
> To post to this group, send email to android-developers@googlegroups.com
> To unsubscribe from this group, send email to
> android-developers+unsubscr...@googlegroups.com
> For more options, visit this group 
> athttp://groups.google.com/group/android-developers?hl=en

-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Reply via email to