Keep running into OutOfMemoryError:permGenSpace
I jus installed Webcenter Sites 11g on the following configurations:
OS : Windows 2008 R2 64 bit
App server: Apache Tomcat 6.0.35 x64
DB: HSQLDB 1.8.0
JDK/JRE : Version 6 u 33 for 64 bit
After successful installation i keep getting OutOfMemoryError:permGenSpace error every time i try to create an asset. Not sure if its because 64 bit is not supported. Anybody has some clues and inputs to overcome the same?
I have set up enough perm size in CATALINA_OPTS (max 1024M).
Also during one of the tomcat start ups (not seeing everytime) saw the below message. Not sure if this is related and if so how to resolve the same. Sorry about the long tiring question.
"The web application [cs] created a ThreadLocal with key of type [org.apache.log4j.helpers.ThreadLocalMap] and a value of type [java.util.Hashtable] <value [()]) but failed to remove it when the web application was stopped. This is very likely to create a memory leak"