Skip to main content

PermGen space error

4 replies [Last post]
Anonymous

com.sun.enterprise.admin.cli.CommandException: remote failure: Error during
depl
oyment : PermGen space

Why am I getting this error? is it related to -XX:MaxPermSize=96m??
Should I make it 256 or more?
[att1.html]

Reply viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.
Richard Kolb

Hi Hande

On 19 August 2010 12:03, HANDE CANORUÇ wrote:

> com.sun.enterprise.admin.cli.CommandException: remote failure: Error during
> depl
> oyment : PermGen space
>
> Why am I getting this error? is it related to -XX:MaxPermSize=96m??
> Should I make it 256 or more?
>

This is a issue I complain about a lot and maybe it's your issue.
https://glassfish.dev.java.net/issues/show_bug.cgi?id=11159

There are some articles to explain the MacPerm gen issue.

If you think this is your issue , you can vote for it. (not getting any
priority atm)

regards
Richard.
[att1.html]

HANDE CANORUÇ

So, What causes this error?

2010/8/19 Richard Kolb

>
> Hi Hande
>
>
>
> On 19 August 2010 12:03, HANDE CANORUÇ wrote:
>
>> com.sun.enterprise.admin.cli.CommandException: remote failure: Error
>> during depl
>> oyment : PermGen space
>>
>> Why am I getting this error? is it related to -XX:MaxPermSize=96m??
>> Should I make it 256 or more?
>>
>
> This is a issue I complain about a lot and maybe it's your issue.
> https://glassfish.dev.java.net/issues/show_bug.cgi?id=11159
>
> There are some articles to explain the MacPerm gen issue.
>
> If you think this is your issue , you can vote for it. (not getting any
> priority atm)
>
> regards
> Richard.
>
>
[att1.html]

Richard Kolb

On 19 August 2010 14:00, HANDE CANORUÇ wrote:

> So, What causes this error?
>

Yes, and it's very common.

In my case I deploy 30-100 times and *poof*, MaxPerm gen error. Or GlassFish
just hangs and I need to kill -9 it...
It is a known issue on any Java-EE server, but I would like it documented.
Read the links at the bottom of the issue, very interesting.
[att1.html]

HANDE CANORUÇ

Thanks a lot... good documentations, I think I have to configure JVM
MaxPermSize option.

2010/8/19 Richard Kolb

>
>
> On 19 August 2010 14:00, HANDE CANORUÇ wrote:
>
>> So, What causes this error?
>>
>
> Yes, and it's very common.
>
> In my case I deploy 30-100 times and *poof*, MaxPerm gen error. Or
> GlassFish just hangs and I need to kill -9 it...
> It is a known issue on any Java-EE server, but I would like it documented.
> Read the links at the bottom of the issue, very interesting.
>
>
[att1.html]