[Mulgara-dev] random heap-space exhaustions

peter royal peter.royal at pobox.com
Tue Feb 13 03:39:29 UTC 2007


On Feb 12, 2007, at 3:51 AM, Life is hard, and then you die wrote:
> The problem is that these usually slow down the app quite noticeably
> (e.g. the -agentlib:hprof slows things down by a factor of 40), and we
> got to run this on production. So the question is how big is their
> overhead? (I don't trust what vendors say...).
>
> Also it's not clear to me: can this run unattended (no gui attached)
> without writing a monitoring app using their API? I.e. can I set
> things up and then detach the gui and reattach several days later?

I've used YourKit on production systems with no noticeable effects.

It doesn't require a GUI, and can run completely unattended.

I'd start it with:

-agentlib:yjpagent=disablealloc,disablecounts,disablej2ee,usedmem=90

that disables any bytecode swizzling, and it will capture a heap  
snapshot when 90% of the heap is used (substitute whatever percentage  
you may want there)

the generates snapshot file can then be loaded using the GUI offline  
on a desktop system.

-pete

-- 
(peter.royal|osi)@pobox.com - http://fotap.org/~osi

-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 2454 bytes
Desc: not available
URL: <http://lists.mulgara.org/pipermail/mulgara-dev/attachments/20070212/3efdb1e5/attachment.bin>


More information about the Mulgara-dev mailing list