Fully featured low overhead profiler for Java EE and Java SE platforms.
Ultimate profiling and monitoring solution for Gradle, Maven, Ant, JUnit and TestNG.
Easy to use performance and memory profiler for .NET framework.

Seeing a memory leak with the last couple versions

Moderators: Vladimir Kondratyev, Anton Katilin

Seeing a memory leak with the last couple versions

Postby james.leatherman » Wed Jul 22, 2015 6:14 pm

Even with all telemetry off, I am seeing memory growth in YourKit classes.

This is not happening will all my JVMs, but the 50% that are leaking will OOM in less than 12 hours.

I can provide a dump if needed.
james.leatherman
 
Posts: 12
Joined: Tue Jun 17, 2014 11:49 pm

Re: Seeing a memory leak with the last couple versions

Postby Anton Katilin » Thu Jul 23, 2015 1:37 pm

Yes, could you please provide a dump. You may share the download link here in the forum or send it to support@yourkit.com
Anton Katilin
 
Posts: 5575
Joined: Wed Aug 11, 2004 8:37 am

Re: Seeing a memory leak with the last couple versions

Postby james.leatherman » Mon Aug 10, 2015 7:36 pm

The snapshot has been sent via DropSend. You should receive an email shortly. Thanks!
james.leatherman
 
Posts: 12
Joined: Tue Jun 17, 2014 11:49 pm

Re: Seeing a memory leak with the last couple versions

Postby Anton Katilin » Tue Aug 11, 2015 3:38 pm

Could you please post here the subject line of your email after you send it.
Anton Katilin
 
Posts: 5575
Joined: Wed Aug 11, 2004 8:37 am

Re: Seeing a memory leak with the last couple versions

Postby james.leatherman » Fri Aug 14, 2015 3:48 pm

Oh - wow. I'm not sure. It should have some in from my email address. I am sure it has expired by now.
james.leatherman
 
Posts: 12
Joined: Tue Jun 17, 2014 11:49 pm

Re: Seeing a memory leak with the last couple versions

Postby Anton Katilin » Mon Aug 17, 2015 1:23 pm

Could you please resend, if possible. I'm afraid we didn't receive your original email.
Anton Katilin
 
Posts: 5575
Joined: Wed Aug 11, 2004 8:37 am

Re: Seeing a memory leak with the last couple versions

Postby james.leatherman » Tue Sep 29, 2015 11:14 pm

Still trying to get a decent heap dump.

In the meantime, this is what AppDynamics is reporting:

AUTOMATIC LEAK DETECTION - OBJECT EXPORT
Export Time - 09/29/15 4:14:05 PM

Class: java.util.HashMap
Object Creation Time: 09/28/15 3:48:36 PM
JVM Start Time: 09/28/15 8:27:30 AM
Object Intance ID: 93210511
Collection Size: 3309643

ACCESS TRACKING at09/29/15 3:58:38 PM

Code paths accessing this Collection (get(), put(), etc)
(Code Path, Occurrences)

java.util.HashMap.get(HashMap.java)
at com.yourkit.probes.ResourceCounter.open(ResourceCounter.java:177)
at com.yourkit.probes.builtin.DatabasesLW$Connection_prepareStatement_Probe.onReturn(DatabasesLW.java:331)
at org.apache.tomcat.dbcp.dbcp.DelegatingConnection.prepareStatement(DelegatingConnection.java:281)
at com.infusion.databridge.DatabaseOperation.getPreparedStatement(DatabaseOperation.java:304)
at com.infusion.databridge.DatabaseOperation.getRst(DatabaseOperation.java:83)
at com.infusion.databridge.ConInfo.getRst(ConInfo.java:277)
at com.infusion.databridge.ConInfo.getRst(ConInfo.java:205)
at com.infusion.databridge.ConInfo.getRst(ConInfo.java:197)
at com.infusion.crm.db.DbObjectService.findAll(DbObjectService.java:207)
, 2
java.util.HashMap.get(HashMap.java)
at com.yourkit.probes.ResourceCounter.open(ResourceCounter.java:177)
at com.yourkit.probes.builtin.DatabasesLW$Connection_prepareStatement_Probe.onReturn(DatabasesLW.java:331)
at com.mysql.jdbc.ConnectionImpl.prepareStatement(ConnectionImpl.java:4294)
at com.mysql.jdbc.ConnectionImpl.prepareStatement(ConnectionImpl.java:4190)
at org.apache.tomcat.dbcp.dbcp.PoolingConnection.makeObject(PoolingConnection.java:285)
at org.apache.tomcat.dbcp.pool.impl.GenericKeyedObjectPool.borrowObject(GenericKeyedObjectPool.java:1212)
at org.apache.tomcat.dbcp.dbcp.PoolingConnection.prepareStatement(PoolingConnection.java:107)
at org.apache.tomcat.dbcp.dbcp.DelegatingConnection.prepareStatement(DelegatingConnection.java:281)
at org.apache.tomcat.dbcp.dbcp.DelegatingConnection.prepareStatement(DelegatingConnection.java:281)
, 3
java.util.HashMap.get(HashMap.java)
at com.yourkit.probes.ResourceCounter.open(ResourceCounter.java:177)
at com.yourkit.probes.builtin.DatabasesLW$Connection_prepareStatement_Probe.onReturn(DatabasesLW.java:331)
at org.apache.tomcat.dbcp.dbcp.DelegatingConnection.prepareStatement(DelegatingConnection.java:281)
at org.apache.tomcat.dbcp.dbcp.PoolingDataSource$PoolGuardConnectionWrapper.prepareStatement(PoolingDataSource.java:313)
at org.apache.tomcat.dbcp.dbcp.DelegatingConnection.prepareStatement(DelegatingConnection.java:281)
at com.infusion.databridge.DatabaseOperation.getPreparedStatement(DatabaseOperation.java:304)
at com.infusion.databridge.DatabaseOperation.getRst(DatabaseOperation.java:83)
at com.infusion.databridge.ConInfo.getRst(ConInfo.java:277)
at com.infusion.databridge.ConInfo.getRst(ConInfo.java:205)
, 6
java.util.HashMap.put(HashMap.java)
at com.yourkit.probes.ResourceCounter.open(ResourceCounter.java:178)
at com.yourkit.probes.builtin.DatabasesLW$Connection_prepareStatement_Probe.onReturn(DatabasesLW.java:331)
at com.mysql.jdbc.ConnectionImpl.prepareStatement(ConnectionImpl.java:4294)
at com.mysql.jdbc.ConnectionImpl.prepareStatement(ConnectionImpl.java:4190)
at org.apache.tomcat.dbcp.dbcp.PoolingConnection.makeObject(PoolingConnection.java:285)
at org.apache.tomcat.dbcp.pool.impl.GenericKeyedObjectPool.borrowObject(GenericKeyedObjectPool.java:1212)
at org.apache.tomcat.dbcp.dbcp.PoolingConnection.prepareStatement(PoolingConnection.java:107)
at org.apache.tomcat.dbcp.dbcp.DelegatingConnection.prepareStatement(DelegatingConnection.java:281)
at org.apache.tomcat.dbcp.dbcp.DelegatingConnection.prepareStatement(DelegatingConnection.java:281)
, 3
java.util.HashMap.get(HashMap.java)
at com.yourkit.probes.ResourceCounter.open(ResourceCounter.java:177)
at com.yourkit.probes.builtin.DatabasesLW$Connection_prepareStatement_Probe.onReturn(DatabasesLW.java:331)
at org.apache.tomcat.dbcp.dbcp.PoolingConnection.prepareStatement(PoolingConnection.java:107)
at org.apache.tomcat.dbcp.dbcp.DelegatingConnection.prepareStatement(DelegatingConnection.java:281)
at org.apache.tomcat.dbcp.dbcp.DelegatingConnection.prepareStatement(DelegatingConnection.java:281)
at org.apache.tomcat.dbcp.dbcp.PoolingDataSource$PoolGuardConnectionWrapper.prepareStatement(PoolingDataSource.java:313)
at org.apache.tomcat.dbcp.dbcp.DelegatingConnection.prepareStatement(DelegatingConnection.java:281)
at com.infusion.databridge.DatabaseOperation.getPreparedStatement(DatabaseOperation.java:304)
at com.infusion.databridge.DatabaseOperation.getRst(DatabaseOperation.java:83)
, 7
java.util.HashMap.put(HashMap.java)
at com.yourkit.probes.ResourceCounter.open(ResourceCounter.java:178)
at com.yourkit.probes.builtin.DatabasesLW$Connection_prepareStatement_Probe.onReturn(DatabasesLW.java:331)
at org.apache.tomcat.dbcp.dbcp.DelegatingConnection.prepareStatement(DelegatingConnection.java:281)
at org.apache.tomcat.dbcp.dbcp.DelegatingConnection.prepareStatement(DelegatingConnection.java:281)
at org.apache.tomcat.dbcp.dbcp.PoolingDataSource$PoolGuardConnectionWrapper.prepareStatement(PoolingDataSource.java:313)
at org.apache.tomcat.dbcp.dbcp.DelegatingConnection.prepareStatement(DelegatingConnection.java:281)
at com.infusion.databridge.DatabaseOperation.getPreparedStatement(DatabaseOperation.java:304)
at com.infusion.databridge.DatabaseOperation.getRst(DatabaseOperation.java:83)
at com.infusion.databridge.ConInfo.getRst(ConInfo.java:277)
, 6
java.util.HashMap.put(HashMap.java)
at com.yourkit.probes.ResourceCounter.open(ResourceCounter.java:178)
at com.yourkit.probes.builtin.DatabasesLW$Connection_prepareStatement_Probe.onReturn(DatabasesLW.java:331)
at org.apache.tomcat.dbcp.dbcp.PoolingConnection.prepareStatement(PoolingConnection.java:107)
at org.apache.tomcat.dbcp.dbcp.DelegatingConnection.prepareStatement(DelegatingConnection.java:281)
at org.apache.tomcat.dbcp.dbcp.DelegatingConnection.prepareStatement(DelegatingConnection.java:281)
at org.apache.tomcat.dbcp.dbcp.PoolingDataSource$PoolGuardConnectionWrapper.prepareStatement(PoolingDataSource.java:313)
at org.apache.tomcat.dbcp.dbcp.DelegatingConnection.prepareStatement(DelegatingConnection.java:281)
at com.infusion.databridge.DatabaseOperation.getPreparedStatement(DatabaseOperation.java:304)
at com.infusion.databridge.DatabaseOperation.getRst(DatabaseOperation.java:83)
, 7
java.util.HashMap.get(HashMap.java)
at com.yourkit.probes.ResourceCounter.open(ResourceCounter.java:177)
at com.yourkit.probes.builtin.DatabasesLW$Connection_prepareStatement_Probe.onReturn(DatabasesLW.java:331)
at com.mysql.jdbc.ConnectionImpl.prepareStatement(ConnectionImpl.java:4190)
at org.apache.tomcat.dbcp.dbcp.PoolingConnection.makeObject(PoolingConnection.java:285)
at org.apache.tomcat.dbcp.pool.impl.GenericKeyedObjectPool.borrowObject(GenericKeyedObjectPool.java:1212)
at org.apache.tomcat.dbcp.dbcp.PoolingConnection.prepareStatement(PoolingConnection.java:107)
at org.apache.tomcat.dbcp.dbcp.DelegatingConnection.prepareStatement(DelegatingConnection.java:281)
at org.apache.tomcat.dbcp.dbcp.DelegatingConnection.prepareStatement(DelegatingConnection.java:281)
at org.apache.tomcat.dbcp.dbcp.PoolingDataSource$PoolGuardConnectionWrapper.prepareStatement(PoolingDataSource.java:313)
, 3
java.util.HashMap.put(HashMap.java)
at com.yourkit.probes.ResourceCounter.open(ResourceCounter.java:178)
at com.yourkit.probes.builtin.DatabasesLW$Connection_prepareStatement_Probe.onReturn(DatabasesLW.java:331)
at org.apache.tomcat.dbcp.dbcp.DelegatingConnection.prepareStatement(DelegatingConnection.java:281)
at com.infusion.databridge.DatabaseOperation.getPreparedStatement(DatabaseOperation.java:304)
at com.infusion.databridge.DatabaseOperation.getRst(DatabaseOperation.java:83)
at com.infusion.databridge.ConInfo.getRst(ConInfo.java:277)
at com.infusion.databridge.ConInfo.getRst(ConInfo.java:205)
at com.infusion.databridge.ConInfo.getRst(ConInfo.java:197)
at com.infusion.crm.db.DbObjectService.findAll(DbObjectService.java:207)
, 2
java.util.HashMap.put(HashMap.java)
at com.yourkit.probes.ResourceCounter.open(ResourceCounter.java:178)
at com.yourkit.probes.builtin.DatabasesLW$Connection_prepareStatement_Probe.onReturn(DatabasesLW.java:331)
at org.apache.tomcat.dbcp.dbcp.PoolingDataSource$PoolGuardConnectionWrapper.prepareStatement(PoolingDataSource.java:313)
at org.apache.tomcat.dbcp.dbcp.DelegatingConnection.prepareStatement(DelegatingConnection.java:281)
at com.infusion.databridge.DatabaseOperation.getPreparedStatement(DatabaseOperation.java:304)
at com.infusion.databridge.DatabaseOperation.getRst(DatabaseOperation.java:83)
at com.infusion.databridge.ConInfo.getRst(ConInfo.java:277)
at com.infusion.databridge.ConInfo.getRst(ConInfo.java:205)
at com.infusion.databridge.ConInfo.getRst(ConInfo.java:197)
, 6
java.util.HashMap.put(HashMap.java)
at com.yourkit.probes.ResourceCounter.open(ResourceCounter.java:178)
at com.yourkit.probes.builtin.DatabasesLW$Connection_prepareStatement_Probe.onReturn(DatabasesLW.java:331)
at org.apache.tomcat.dbcp.dbcp.DelegatingConnection.prepareStatement(DelegatingConnection.java:281)
at org.apache.tomcat.dbcp.dbcp.PoolingDataSource$PoolGuardConnectionWrapper.prepareStatement(PoolingDataSource.java:313)
at org.apache.tomcat.dbcp.dbcp.DelegatingConnection.prepareStatement(DelegatingConnection.java:281)
at com.infusion.databridge.DatabaseOperation.getPreparedStatement(DatabaseOperation.java:304)
at com.infusion.databridge.DatabaseOperation.getRst(DatabaseOperation.java:83)
at com.infusion.databridge.ConInfo.getRst(ConInfo.java:277)
at com.infusion.databridge.ConInfo.getRst(ConInfo.java:205)
, 6
java.util.HashMap.get(HashMap.java)
at com.yourkit.probes.ResourceCounter.open(ResourceCounter.java:177)
at com.yourkit.probes.builtin.DatabasesLW$Connection_prepareStatement_Probe.onReturn(DatabasesLW.java:331)
at org.apache.tomcat.dbcp.dbcp.PoolingDataSource$PoolGuardConnectionWrapper.prepareStatement(PoolingDataSource.java:313)
at org.apache.tomcat.dbcp.dbcp.DelegatingConnection.prepareStatement(DelegatingConnection.java:281)
at com.infusion.databridge.DatabaseOperation.getPreparedStatement(DatabaseOperation.java:304)
at com.infusion.databridge.DatabaseOperation.getRst(DatabaseOperation.java:83)
at com.infusion.databridge.ConInfo.getRst(ConInfo.java:277)
at com.infusion.databridge.ConInfo.getRst(ConInfo.java:205)
at com.infusion.databridge.ConInfo.getRst(ConInfo.java:197)
, 6
java.util.HashMap.get(HashMap.java)
at com.yourkit.probes.ResourceCounter.open(ResourceCounter.java:177)
at com.yourkit.probes.builtin.DatabasesLW$Connection_prepareStatement_Probe.onReturn(DatabasesLW.java:331)
at org.apache.tomcat.dbcp.dbcp.DelegatingConnection.prepareStatement(DelegatingConnection.java:281)
at org.apache.tomcat.dbcp.dbcp.DelegatingConnection.prepareStatement(DelegatingConnection.java:281)
at org.apache.tomcat.dbcp.dbcp.PoolingDataSource$PoolGuardConnectionWrapper.prepareStatement(PoolingDataSource.java:313)
at org.apache.tomcat.dbcp.dbcp.DelegatingConnection.prepareStatement(DelegatingConnection.java:281)
at com.infusion.databridge.DatabaseOperation.getPreparedStatement(DatabaseOperation.java:304)
at com.infusion.databridge.DatabaseOperation.getRst(DatabaseOperation.java:83)
at com.infusion.databridge.ConInfo.getRst(ConInfo.java:277)
, 6
java.util.HashMap.put(HashMap.java)
at com.yourkit.probes.ResourceCounter.open(ResourceCounter.java:178)
at com.yourkit.probes.builtin.DatabasesLW$Connection_prepareStatement_Probe.onReturn(DatabasesLW.java:331)
at org.apache.tomcat.dbcp.dbcp.DelegatingConnection.prepareStatement(DelegatingConnection.java:281)
at com.infusion.databridge.DatabaseOperation.getPreparedStatement(DatabaseOperation.java:304)
at com.infusion.databridge.DatabaseOperation.getRst(DatabaseOperation.java:83)
at com.infusion.databridge.ConInfo.getRst(ConInfo.java:277)
at com.infusion.databridge.ConInfo.getRst(ConInfo.java:205)
at com.infusion.databridge.ConInfo.getRst(ConInfo.java:197)
at com.infusion.databridge.ConInfo.getLongs(ConInfo.java:147)
, 2
java.util.HashMap.get(HashMap.java)
at com.yourkit.probes.ResourceCounter.open(ResourceCounter.java:177)
at com.yourkit.probes.builtin.DatabasesLW$Connection_prepareStatement_Probe.onReturn(DatabasesLW.java:331)
at org.apache.tomcat.dbcp.dbcp.DelegatingConnection.prepareStatement(DelegatingConnection.java:281)
at com.infusion.databridge.DatabaseOperation.getPreparedStatement(DatabaseOperation.java:304)
at com.infusion.databridge.DatabaseOperation.getRst(DatabaseOperation.java:83)
at com.infusion.databridge.ConInfo.getRst(ConInfo.java:277)
at com.infusion.databridge.ConInfo.getRst(ConInfo.java:205)
at com.infusion.databridge.ConInfo.getRst(ConInfo.java:197)
at com.infusion.databridge.ConInfo.getLongs(ConInfo.java:147)
, 2

Business Transactions accessing this Collection (get(), put(), etc)
(Business Transaction, Occurrences)


james.leatherman
 
Posts: 12
Joined: Tue Jun 17, 2014 11:49 pm


Return to Java Profiler

Who is online

Users browsing this forum: No registered users and 12 guests

cron