Skip to main content

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

2012/5/25 Markus Duft <markus.duft@xxxxxxxxxx>
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...

yes, jgit handles OOM in several places:
- DeltaWindow
- ObjectLoader
- PackFile
- SimilarityIndex
- TemporaryBuffer
 
--
Matthias

Back to the top