ProcessBuilder still leaking memory
Hi all, I am still seeing a memory leak caused by process builder It seems to be the same as reported here: https://bugs.openjdk.java.net/browse/JDK-8054841 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
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, Ivan 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: https://bugs.openjdk.java.net/browse/JDK-8054841
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
participants (2)
-
Fabian Lange
-
Ivan Gerasimov