13 Replies Latest reply: Nov 23, 2010 9:34 AM by jschellSomeoneStoleMyAlias RSS

    how find the source which hold intern string in perm

    810949
      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