-
Bug
-
Resolution: Cannot Reproduce
-
High
Recently, the following bug was fixed:
https://jira.atlassian.com/browse/CONF-34439
A similar and possibly related bug is happening where In-app notification for a page is causing an instance to have an out of memory exception, be restarted and have the out of memory exception again.
The following is a thread dump for the problem:
Suspicious Thread: 0x8a90a920 at java.lang.OutOfMemoryError.<init>()V (OutOfMemoryError.java:48) at java.lang.StringCoding$StringDecoder.decode([BII)[C (StringCoding.java:149) at java.lang.StringCoding.decode(Ljava/lang/String;[BII)[C (StringCoding.java:193) at java.lang.String.<init>([BIILjava/lang/String;)V (String.java:414) at org.postgresql.core.Encoding.decode([BII)Ljava/lang/String; (Encoding.java:193) at org.postgresql.core.Encoding.decode([B)Ljava/lang/String; (Encoding.java:205) at org.postgresql.jdbc2.AbstractJdbc2ResultSet.getString(I)Ljava/lang/String; (AbstractJdbc2ResultSet.java:1879) at org.postgresql.jdbc2.AbstractJdbc2ResultSet.getString(Ljava/lang/String;)Ljava/lang/String; (AbstractJdbc2ResultSet.java:2405) at org.apache.tomcat.dbcp.dbcp.DelegatingResultSet.getString(Ljava/lang/String;)Ljava/lang/String; (DelegatingResultSet.java:263) at org.apache.tomcat.dbcp.dbcp.DelegatingResultSet.getString(Ljava/lang/String;)Ljava/lang/String; (DelegatingResultSet.java:263) at ... com.atlassian.mywork.host.dao.ao.AONotificationDao.queryNotifications(Lnet/java/ao/Query;)Ljava/lang/Iterable; (AONotificationDao.java:274) at com.atlassian.mywork.host.dao.ao.AONotificationDao.findAllUnreadAfterOnlyIdsAction(Ljava/lang/String;J)Ljava/lang/Iterable; (AONotificationDao.java:223) at sun.reflect.NativeMethodAccessorImpl.invoke0(Ljava/lang/reflect/Method;Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object; (Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object; (NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object; (DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object; (Method.java:483)
The page responsible for this problem seems to be a regular page.
Disabling In-app notification stopped the exception from happening all the time.
Dear frederic.esnault,
I think the problem you mentioned related to this issue https://jira.atlassian.com/browse/CONF-38615. It has been fixed in the latest cloud and will be released in 5.10.0
Thanks,
Minh Tran
Confluence BugMaster
Atlassiano