13 Replies Latest reply on Nov 23, 2010 3:34 PM by jschellSomeoneStoleMyAlias

    how find the source which hold intern string in perm

      I got OOM in perm, then I reset the Max perm to 512m, but still got about 2-3m perm increasement per day. By using "jmap -permstat" and MAT, I can conclude the increasement is due to intern string. The question is how can I find which part of my application or source which make this happen?
      "jmap -permstat" only got the summary information, as following "60234 intern Strings occupying 10403568 bytes." I find about 10,000 intern string and 3Mb increasement per day, some of my guy think it is perm leak.
      I thought find String.intern() source code is one way,any other suggestion?

      Edited by: user11136010 on 2010-11-5 下午5:45