Replies: 1 comment 3 replies
-
Do you ever clear warnings in your code ? |
Beta Was this translation helpful? Give feedback.
3 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I have a heap dump of a tomcat instance. It has 1 poolable connection to postgres, with 1 poolable PgPreparedStatement, with 620 516 identical PSQLWarning objects attached to it in a linked list, resulting in a retained heap of about 633Mb, if not more
I fixed this specific warning, but is it possible to limit the number of warnings in that list?
Thanks
For reference: A eclipse MAT walk to the GC root:
Beta Was this translation helpful? Give feedback.
All reactions