PermGen errors are not a heap issue.

PermGen space is used by the classloader. In dynamic applications that
create a lot of classes (web applications with a lot of JSP pages, a lot of
hibernate or Spring usage, AOP, etc) you can find yourself getting PermGen
errors. You need to increase the default amount of the PermGen space using :

XX:MaxPermSize=[256]m

Where [256] is whatever amount you feel is appropriate. You might try -XX:
MaxPermSize=256m and see if the errors stop. Because this space is a
reflection of the amount of classes, NOT objects (which the heap holds), it
doesn't need to be nearly as large as you'd be setting your heap to solve
OOM errors.

On Wed, Sep 24, 2014 at 8:31 AM, Jayakumar Jayaraman <[email protected]>
wrote:

> What's your JVM heap memory settings ? Whats your available RAM ?
> Try to increase the JVM heap memory.
>
> - Jay
>
>
>
> On Wednesday, 24 September 2014 14:52:42 UTC+1, Raj kumar wrote:
>>
>> Any help guys?
>>
> --
> You are currently subscribed to [email protected] as: 
> [email protected]
> To unsubscribe, change settings or access archives, see 
> http://www.ja-sig.org/wiki/display/JSG/cas-user
>
>


-- 
Charles Hasegawa
www.unicon.net

-- 
You are currently subscribed to [email protected] as: 
[email protected]
To unsubscribe, change settings or access archives, see 
http://www.ja-sig.org/wiki/display/JSG/cas-user

Reply via email to