Demo is down with OutOfMemoryError: PermGen space error

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
25 messages Options
12
Reply | Threaded
Open this post in threaded view
|

Re: Demo is down with OutOfMemoryError: PermGen space error

hans_bakker
sure..i just restarted it....any suggestions to fix it?....

this problems happens at least once per day.....

On Thu, 2010-02-25 at 16:35 +0530, Ashish Vijaywargiya wrote:

> >> we have an instance experiencing PermGen errors after an upgrade, and I have noticed that this happens often when PDF are created (not with Birt).
>
> I am also observing the same behavior since last few days(month) on my
> development machine.
>
> --
> Ashish
>
>
> On Thu, Feb 25, 2010 at 4:28 PM, Jacopo Cappellato
> <[hidden email]> wrote:
> > I too suspect that the Birt integration is responsible for this; we have an instance experiencing PermGen errors after an upgrade, and I have noticed that this happens often when PDF are created (not with Birt).
> >
> > Jacopo
> >
> > On Feb 24, 2010, at 6:46 PM, Deyan Tsvetanov wrote:
> >
> >> You should investigate which piece of code is causing that error.
> >> Few months ago I used BIRT into ofbiz and i was getting this error. The
> >> problem was definitelly BIRT,
> >> so I set -XX:PermSize=64m -XX:MaxPermSize=512m  and since than it's OK.
> >>
> >> -- Deyan
> >>
--
Antwebsystems.com: Quality OFBiz services for competitive rates

Reply | Threaded
Open this post in threaded view
|

Re: Demo is down with OutOfMemoryError: PermGen space error

hans_bakker
In reply to this post by Deyan Tsvetanov
ok i am trying this one now....not sure however it will run in 1Gb of
memory

On Wed, 2010-02-24 at 19:46 +0200, Deyan Tsvetanov wrote:

> You should investigate which piece of code is causing that error.
> Few months ago I used BIRT into ofbiz and i was getting this error. The
> problem was definitelly BIRT,
> so I set -XX:PermSize=64m -XX:MaxPermSize=512m  and since than it's OK.
>
> -- Deyan
>
> -----Original Message-----
> From: Hans Bakker <[hidden email]>
> Reply-to: [hidden email]
> To: [hidden email]
> Subject: Re: Demo is down with OutOfMemoryError: PermGen space error
> Date: Thu, 18 Feb 2010 19:27:03 +0700
>
>
> oK I have just restarted, i see the permgen arror again...according to
> sun the maximum is 128M i am trying now 256M.....
>
> any advice how o avoid his problem?
>
> Regards,
> Hans
>
> On Thu, 2010-02-18 at 12:32 +0530, Abdullah Shaikh wrote:
> > Demo site is throwing
> >
> > java.lang.OutOfMemoryError: PermGen space
> >
> >
> > for all the backend applications, the ecommerce is working fine.
> >
> >
> > - Abdullah
>
>
--
Antwebsystems.com: Quality OFBiz services for competitive rates

Reply | Threaded
Open this post in threaded view
|

Re: Demo is down with OutOfMemoryError: PermGen space error

Jacques Le Roux
Administrator
Yes, this is obviously the root of our problems: we need at least 2GB to be sure
Did we already ask for more memory in a Jira infra issue ?

Jacques

From: "Hans Bakker" <[hidden email]>

> ok i am trying this one now....not sure however it will run in 1Gb of
> memory
>
> On Wed, 2010-02-24 at 19:46 +0200, Deyan Tsvetanov wrote:
>> You should investigate which piece of code is causing that error.
>> Few months ago I used BIRT into ofbiz and i was getting this error. The
>> problem was definitelly BIRT,
>> so I set -XX:PermSize=64m -XX:MaxPermSize=512m  and since than it's OK.
>>
>> -- Deyan
>>
>> -----Original Message-----
>> From: Hans Bakker <[hidden email]>
>> Reply-to: [hidden email]
>> To: [hidden email]
>> Subject: Re: Demo is down with OutOfMemoryError: PermGen space error
>> Date: Thu, 18 Feb 2010 19:27:03 +0700
>>
>>
>> oK I have just restarted, i see the permgen arror again...according to
>> sun the maximum is 128M i am trying now 256M.....
>>
>> any advice how o avoid his problem?
>>
>> Regards,
>> Hans
>>
>> On Thu, 2010-02-18 at 12:32 +0530, Abdullah Shaikh wrote:
>> > Demo site is throwing
>> >
>> > java.lang.OutOfMemoryError: PermGen space
>> >
>> >
>> > for all the backend applications, the ecommerce is working fine.
>> >
>> >
>> > - Abdullah
>>
>>
> --
> Antwebsystems.com: Quality OFBiz services for competitive rates
>

Reply | Threaded
Open this post in threaded view
|

Re: Demo is down with OutOfMemoryError: PermGen space error

Jacopo Cappellato-4
In reply to this post by hans_bakker
On Feb 25, 2010, at 12:38 PM, Hans Bakker wrote:

> sure..i just restarted it....any suggestions to fix it?....
>

We may try to disable the birt component and see if the error goes away.
Is it possible that we have duplicated jars that are conflicting?

Jacopo

> this problems happens at least once per day.....
>
> On Thu, 2010-02-25 at 16:35 +0530, Ashish Vijaywargiya wrote:
>>>> we have an instance experiencing PermGen errors after an upgrade, and I have noticed that this happens often when PDF are created (not with Birt).
>>
>> I am also observing the same behavior since last few days(month) on my
>> development machine.
>>
>> --
>> Ashish
>>
>>
>> On Thu, Feb 25, 2010 at 4:28 PM, Jacopo Cappellato
>> <[hidden email]> wrote:
>>> I too suspect that the Birt integration is responsible for this; we have an instance experiencing PermGen errors after an upgrade, and I have noticed that this happens often when PDF are created (not with Birt).
>>>
>>> Jacopo
>>>
>>> On Feb 24, 2010, at 6:46 PM, Deyan Tsvetanov wrote:
>>>
>>>> You should investigate which piece of code is causing that error.
>>>> Few months ago I used BIRT into ofbiz and i was getting this error. The
>>>> problem was definitelly BIRT,
>>>> so I set -XX:PermSize=64m -XX:MaxPermSize=512m  and since than it's OK.
>>>>
>>>> -- Deyan
>>>>
> --
> Antwebsystems.com: Quality OFBiz services for competitive rates
>

Reply | Threaded
Open this post in threaded view
|

OutOfMemoryError: PermGen space error

Jacopo Cappellato-4
(moving to the dev list)

Hmmm....

I am trying to find out more details using jmap and now I am no more thinking that birt is the issue.
Adam, is it possible that the Webslinger component is causing this?
Running jmap -permstat I get the following stats:

total = 2923 21073 197839272    N/A     alive=11, dead=2912    N/A

and the 2912 dead are mostly similar to:

0x000000010be57918 4 50032 0x00000001091e2f20 dead org/webslinger/invoker/AsmUtil$GeneratedClassLoader@0x00000001283f7208

It would be of great help if you could help with this.

Thanks,

Jacopo


On Feb 25, 2010, at 2:53 PM, Jacopo Cappellato wrote:

> On Feb 25, 2010, at 12:38 PM, Hans Bakker wrote:
>
>> sure..i just restarted it....any suggestions to fix it?....
>>
>
> We may try to disable the birt component and see if the error goes away.
> Is it possible that we have duplicated jars that are conflicting?
>
> Jacopo
>
>> this problems happens at least once per day.....
>>
>> On Thu, 2010-02-25 at 16:35 +0530, Ashish Vijaywargiya wrote:
>>>>> we have an instance experiencing PermGen errors after an upgrade, and I have noticed that this happens often when PDF are created (not with Birt).
>>>
>>> I am also observing the same behavior since last few days(month) on my
>>> development machine.
>>>
>>> --
>>> Ashish
>>>
>>>
>>> On Thu, Feb 25, 2010 at 4:28 PM, Jacopo Cappellato
>>> <[hidden email]> wrote:
>>>> I too suspect that the Birt integration is responsible for this; we have an instance experiencing PermGen errors after an upgrade, and I have noticed that this happens often when PDF are created (not with Birt).
>>>>
>>>> Jacopo
>>>>
>>>> On Feb 24, 2010, at 6:46 PM, Deyan Tsvetanov wrote:
>>>>
>>>>> You should investigate which piece of code is causing that error.
>>>>> Few months ago I used BIRT into ofbiz and i was getting this error. The
>>>>> problem was definitelly BIRT,
>>>>> so I set -XX:PermSize=64m -XX:MaxPermSize=512m  and since than it's OK.
>>>>>
>>>>> -- Deyan
>>>>>
>> --
>> Antwebsystems.com: Quality OFBiz services for competitive rates
>>
>

12