I have been trying to resolve the OutOfMemory PermGen issue that I have run into in STS 2.2.0 release
My application has been built on JDK1.6 , OPEN JPA, Spring 3.0 with Oracle backend.
The problem I face is that my application runs out of the PermGen every time I run my Junits. Specifically, it hangs in the middle of running junits throwing up java.lang.OutOfMemoryError: PermGen space
The Junit test relies on Spring heavily. All our Junits extend AbstractJpaTests.
the JVM options I am using are in the STS .ini file :
I have tried a few suggestions that I found on various forums -
Current STS .ini file in the installatin directory
Min and Max JVM heap size is set to 40 and 1024m
Updated them to 265 and 2048m
Closed and restarted the STS eclipse, wont even start
Kindly provide any pointers.