Haresh Sawant

Greenhorn
+ Follow
since Mar 08, 2012
Merit badge: grant badges
For More
Cows and Likes
Cows
Total received
0
In last 30 days
0
Total given
0
Likes
Total received
0
Received in last 30 days
0
Total given
1
Given in last 30 days
0
Forums and Threads
Scavenger Hunt
expand Ranch Hand Scavenger Hunt
expand Greenhorn Scavenger Hunt

Recent posts by Haresh Sawant

Recently I faced a problem,
I've implemented annotation driven transaction management in Spring & used CGLIB.jar as it is required for Proxy creation.
Transaction handling code was a part of SOA service , service was running out of memory (PermGen) after handling ~ 20 requests.
After searching on various websites I found that there is a memory leak issue with CGLIB because it creates hard link between proxy and class loader.
I am still unclear about root cause of this issue, can somebody please explain this in detail...
11 years ago
Yeah, You are right..
I mean in VM Parameters textbox, we can add required VM parameters
In this case it should be -Xmx
Please Correct me if I'm wrong...
try this

Run- Edit Configurations -
Expand Grails - Grails:[projectname] - Grails tab
In the VM Parameters textbox, set the following:
-XX:MaxPermSize=<Required memory size>
In Eclipse , go to

Debug -> Debug Configuration -> Arguments -> VM Arguments