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 777
misc"...

When you launch the "adb kill -10 [pid]" command...what do you see in
DDMS log??

I can send you a shell script to do this process if you want...

Regards, Miguel.

On Nov 13, 3:21 am, Luthien <[EMAIL PROTECTED]> wrote:
> 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 <[EMAIL PROTECTED]> wrote:
>
> > 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 shell: adb 
> > > shellkill -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
> > > > called heap-dump-tmXXXXXX-pidXXX.hprof and the other one has the same
> > > > name but with the extension .hprof-head. For instance, I have
> > > > /data/misc/heap-dump-tm1213483064-pid4748.hprof and
> > > > /data/misc/heap-dump-tm1213483064-pid4748.hprof-head
>
> > > When I got those two file, I can't marge those file via cat command.
>
> > > > cat heap-dump-tm1213483064-pid4748.hprof-head
> > > > heap-dump-tm1213483064-pid4748.hprof > heap-profile.hprof
>
> > >  Can anyone help?
>
> > > thanks a lot
>
> > > Luthien- 隱藏被引用文字 -
>
> > - 顯示被引用文字 -
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[EMAIL PROTECTED]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to