Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [epp-dev] MAT in Java-based packages

On 05 Sep 2016, at 10:08, Gunnar Wagenknecht <gunnar@xxxxxxxxxxxxxxx> wrote:
> 
> Hi Marcel,
> 
> It is a nice feature. I see two challenges:
> 
> 1. Ensure heap dump is written when OOM occurs

I’d propose to set -XX:+HeapDumpOnOutOfMemoryError and -XX:HeapDumpPath in the committer package's eclipse.ini.

If this is too intrusive, we could start the dump from the error reporting dialog (with the potential problem that GC was able to clean it up already).


> 2. Analyze heap dump headless from within a running Eclipse instance

Let’s use “semi-automatically” instead of “automatically”. The analysis could be executed “on-demand” from within the review dialog, i.e., when the user clicks on a specific button.


> A prototype might help.


Sure. I interpret your answer as a “If it works well enough, I’m fine with adding the necessary dependencies to MAT to the committers package”. 
Just to say it clearly: I don’t know if MAT can be used reasonably well for this use case and I’ve no concrete plan when I’ll work on this item. I’ll follow up when there is something to show.

Marcel



Back to the top