On Fri, Jan 30, 2009 at 3:30 AM, Matthew Toseland
<[email protected]> wrote:
> On Thursday 29 January 2009 13:49, Daniel Cheng wrote:
>> 2009/1/29  <[email protected]>:
>> >
>> > JVM Info
>> >  a.. Used Java memory: 921 MiB
>> >  b.. Allocated Java memory: 1016 MiB
>> >  c.. Maximum Java memory: 1016 MiB
>> >  d.. Running threads: 243/1000
>> >  e.. Available CPUs: 2
>> >  f.. Java Version: 1.6.0_11
>> >  g.. JVM Vendor: Sun Microsystems Inc.
>> >  h.. JVM Version: 11.0-b16
>> >  i.. OS Name: Windows XP
>> >  j.. OS Version: 5.1
>> >  k.. OS Architecture: x86
>> >
>> > nodeUptime: 10h4m
>> >
>>
>> if you are using it with java 6 in linux, do this:
>>
>> $ jmap -heap:format=b   <pid>
>> where <pid> is the pid of freenet java process.
>>
>> Compress the heap.bin and send it somewhere the developers can download.
>>
>> WARNING: this file contain private info, such as your linux user name,
>> darknet port, ip address, what's downloading, etc....
>>
>> this file can be opened with Eclipse MAT / YourKit Profiler / jhat  or
>> other java memory profile tools
>
> Gives more info than a straight jmap [-F] -histo <pid> ?

-heap:format=b  dump the whole heap.
-histro  just give a histogram of object class

>
> _______________________________________________
> Devl mailing list
> [email protected]
> http://emu.freenetproject.org/cgi-bin/mailman/listinfo/devl
>
_______________________________________________
Devl mailing list
[email protected]
http://emu.freenetproject.org/cgi-bin/mailman/listinfo/devl

Reply via email to