[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [jgit-dev] preparing 2.0

On 05/25/2012 08:20 AM, Matthias Sohn wrote:
> try starting the JVM with
> 
> |-XX:+HeapDumpOnOutOfMemoryError
> 
> -XX:HeapDumpPath=<value>|
> 
> then you should get a heap dump when OOM happens

ok, does jgit really catch a throwable OOM and continues? because the vm does not die - i just get the message, and everybody pretends all is fine...

markus

> 
> You also may use jmap, jconsole, jstat or VisualVM to monitor heap consumption.
> 
> --
> Matthias
> 
> 
> 2012/5/25 Markus Duft <markus.duft@xxxxxxxxxx <mailto:markus.duft@xxxxxxxxxx>>
> 
>     On 05/25/2012 01:19 AM, Robin Rosenberg wrote:
>     > Matthias Sohn skrev 2012-05-24 08.59:
>     [snap]
>     >
>     > Out-of-memory has previously been a source.
> 
>     i doubt it in this case, any way to detect whether it is?
> 
>     markus
> 
>     >
>     > -- robin
>     >
>     > _______________________________________________
>     > jgit-dev mailing list
>     > jgit-dev@xxxxxxxxxxx <mailto:jgit-dev@xxxxxxxxxxx>
>     > https://dev.eclipse.org/mailman/listinfo/jgit-dev
>     _______________________________________________
>     jgit-dev mailing list
>     jgit-dev@xxxxxxxxxxx <mailto:jgit-dev@xxxxxxxxxxx>
>     https://dev.eclipse.org/mailman/listinfo/jgit-dev
> 
> 
> 
> 
> -- 
> Matthias