SoftReferences not cleaned up

Bernd Eckenfels ecki at zusammenkunft.net
Fri Jul 7 21:16:52 UTC 2017


Can you upload the verbose GC log somewhere? I suspect you don't see old/mixed GCs since 30h.

Gruss
Bernd
--
http://bernd.eckenfels.net
________________________________
From: hotspot-gc-use <hotspot-gc-use-bounces at openjdk.java.net> on behalf of Nicolae Mihalache <xpromache at gmail.com>
Sent: Friday, July 7, 2017 1:58:11 PM
To: hotspot-gc-use at openjdk.java.net
Subject: SoftReferences not cleaned up

Hello,

I have problems understanding why the SoftReferences are not cleaned up.  This is my version of java:
java -version
java version "1.8.0_92"
Java(TM) SE Runtime Environment (build 1.8.0_92-b14)
Java HotSpot(TM) 64-Bit Server VM (build 25.92-b14, mixed mode)

and I run it with the options -Xmx512m  -XX:SoftRefLRUPolicyMSPerMB=1

Still the number of SoftReferences keep increasing and I see that some of them are 30+ hours old. I have a heap dump:
https://drive.google.com/open?id=0B8_hkIRtZSShNUtTZUx3UTFuMEk

I don't know how to debug further, any hint would be appreciated.

thanks,
nicolae
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.openjdk.java.net/pipermail/hotspot-gc-use/attachments/20170707/435fbd45/attachment.html>


More information about the hotspot-gc-use mailing list