Hi,

our application (Gerrit) consumes more and more memory and Yourkit showed up 
with 18M 
Jdbc4PreparedStatement<http://grepcode.com/file/repo1.maven.org/maven2/postgresql/postgresql/9.1-901.jdbc4/org/postgresql/jdbc4/Jdbc4PreparedStatement.java>
 objects in "pending finalization" which uses up 21G of mem.

The heap is taken immediately after two GCs.


I wonder why those objects survived of GCs.

According to Yourkit 
doc<https://www.yourkit.com/docs/java/help/reachability.jsp>,  the objects in 
"pending finalization" are from the class with an implemenation of finalize() 
method while 
Jdbc4PreparedStatement<http://grepcode.com/file/repo1.maven.org/maven2/postgresql/postgresql/9.1-901.jdbc4/org/postgresql/jdbc4/Jdbc4PreparedStatement.java>
 is without it.

Is it about G1GC?


Any hint is appreciated.


BR,

Hongkai


================================


Here are the screenshots of Yourkit and App info.

[cid:82499a3c-9de5-4ae9-b0f3-c9f2e173aa40]

[cid:5dd8cdb6-7736-4294-9bc5-698ad47ecf29]

_______________________________________________
hotspot-gc-use mailing list
hotspot-gc-use@openjdk.java.net
http://mail.openjdk.java.net/mailman/listinfo/hotspot-gc-use

Reply via email to