ProcessBuilder still leaking memory

Ivan Gerasimov ivan.gerasimov at
Thu Sep 17 16:04:38 UTC 2015

Hi Fabian!

The issue JDK-8054841 was due to failing to free natively allocated memory.
It wouldn't cause Java heap space exhaustion, so you must be observing 
something different.

Can you please provide some more details about your use case?

Sincerely yours,

On 17.09.2015 12:09, Fabian Lange wrote:
> Hi all,
> I am still seeing a memory leak caused by process builder
> It seems to be the same as reported here:
> which is claimed to be fixed, but in 8u45 and 8u60 it still reproduces on
> my Amazon Linux
> Linux ip-10-208-67-36 3.2.30-49.59.amzn1.x86_64 #1 SMP Wed Oct 3 19:54:33
> UTC 2012 x86_64 x86_64 x86_64 GNU/Linux
> can I assist somehow in resolving the leak? Feel free to contact me off
> list.
> What is interesting, is that contrary to the OP, my real application dies
> with java.lang.OutOfMemoryError: Java heap space on an array allocation.
> The java process remains alive, but does not react to kill -3 or anything.
> Best regards,
> Fabian

More information about the core-libs-dev mailing list