[Mulgara-dev] random heap-space exhaustions

Life is hard, and then you die ronald at innovation.ch
Tue Feb 13 23:26:35 UTC 2007


On Mon, Feb 12, 2007 at 07:39:29PM -0800, peter royal wrote:
> 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.

Sounds good. Thanks.


  Cheers,

  Ronald




More information about the Mulgara-dev mailing list