Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in
It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

memory leak issue

After reading a lot about MAT, I used my production heap dump to analyze the memory leak issue. Here is the leak report error:


Created Nov 10 at 2:03am

Nov_10_Problem_Suspect2_4.png

Problem Suspect 1 :

Thread Properties(Caesium-1-2):
Object / Stack Frame : java.lang.Thread @ 0x908ae6d8
Name : Caesium-1-2
Shallow Heap : 120
Retained Heap : 891,655,520
Context Class Loader : org.apache.catalina.loader.ParallelWebappClassLoader @ 0x80e106a0
Is Daemon : true

Thread Stack :
Caesium-1-2
at java.util.Arrays.copyOfRange([CII)[C (Arrays.java:3664)
at java.lang.String.<init>([CII)V (String.java:207)
at java.nio.HeapCharBuffer.toString(II)Ljava/lang/String; (HeapCharBuffer.java:567)
at java.nio.CharBuffer.toString()Ljava/lang/String; (CharBuffer.java:1241)
at com.mysql.jdbc.StringUtils.toString([BIILjava/lang/String;)Ljava/lang/String; (StringUtils.java:2253)
at com.mysql.jdbc.ResultSetRow.getString(Ljava/lang/String;Lcom/mysql/jdbc/MySQLConnection;[BII)Ljava/lang/String; (ResultSetRow.java:707)
at com.mysql.jdbc.ByteArrayRow.getString(ILjava/lang/String;Lcom/mysql/jdbc/MySQLConnection;)Ljava/lang/String; (ByteArrayRow.java:69)
at com.mysql.jdbc.ResultSetImpl.getStringInternal(IZ)Ljava/lang/String; (ResultSetImpl.java:5253)
at com.mysql.jdbc.ResultSetImpl.getString(I)Ljava/lang/String; (ResultSetImpl.java:5136)
at com.mysql.jdbc.ResultSetImpl.getString(Ljava/lang/String;)Ljava/lang/String; (ResultSetImpl.java:5175)
at com.mchange.v2.c3p0.impl.NewProxyResultSet.getString(Ljava/lang/String;)Ljava/lang/String; (NewProxyResultSet.java:1147)
at org.hibernate.type.descriptor.sql.VarcharTypeDescriptor$2.doExtract(Ljava/sql/ResultSet;Ljava/lang/String;Lorg/hibernate/type/descriptor/WrapperOptions;)Ljava/lang/Object; (VarcharTypeDescriptor.java:62)
at org.hibernate.type.descriptor.sql.BasicExtractor.extract(Ljava/sql/ResultSet;Ljava/lang/String;Lorg/hibernate/type/descriptor/WrapperOptions;)Ljava/lang/Object; (BasicExtractor.java:47)
at org.hibernate.type.AbstractStandardBasicType.nullSafeGet(Ljava/sql/ResultSet;Ljava/lang/String;Lorg/hibernate/type/descriptor/WrapperOptions;)Ljava/lang/Object; (AbstractStandardBasicType.java:260)
at

 

Problem Suspect 2:

Nov_10_Problem_Suspect2_1.pngNov_10_Problem_Suspect2_2.pngNov_10_Problem_Suspect2_3.png

1 answer

0 votes
Jack Brickey Community Leader Jan 12, 2022

Was there ever any conclusion on this?

Suggest an answer

Log in or Sign up to answer
TAGS
Community showcase
Published in Confluence Cloud

🏠 Say hello to the new Confluence Home!

Hi Atlassian Community, My name is DJ Chung, and I’m a Product Manager on the Confluence Cloud team. Today, I’m excited to share a new and improved version of Home. The new Home helps you ...

43,961 views 33 137
Read article

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you