PermGen errors on slave

classic Classic list List threaded Threaded
3 messages Options
Reply | Threaded
Open this post in threaded view
|

PermGen errors on slave

Tom Huybrechts
Hi all,

I'm getting PermGen errors on one of my slaves that has been running
for quite awhile.
I do quite a lot of remote calls through Hudson remoting in custom
plugins. Could this have something to do with it ?

Tom

---------------------------------------------------------------------
To unsubscribe, e-mail: [hidden email]
For additional commands, e-mail: [hidden email]

Reply | Threaded
Open this post in threaded view
|

Re: PermGen errors on slave

Kohsuke Kawaguchi
Administrator
It's possible that there's some kind of memory leak. Another
possibility is when you parse a huge XML document, because XML parsers
tend to intern strings, which are put into the permgen.

Can you get a heap dump?

2008/5/23 Tom Huybrechts <[hidden email]>:

> Hi all,
>
> I'm getting PermGen errors on one of my slaves that has been running
> for quite awhile.
> I do quite a lot of remote calls through Hudson remoting in custom
> plugins. Could this have something to do with it ?
>
> Tom
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [hidden email]
> For additional commands, e-mail: [hidden email]
>
>



--
Kohsuke Kawaguchi

---------------------------------------------------------------------
To unsubscribe, e-mail: [hidden email]
For additional commands, e-mail: [hidden email]

Reply | Threaded
Open this post in threaded view
|

Re: PermGen errors on slave

Tom Huybrechts
I mostly do Maven stuff with the embedder. That will do some XML
parsing, but since the POM has a fixed format, it shouldn't cause a
memory leak.

Anyway, I've turned on -XX:+HeapDumpOnOutOfMemoryError, and will take
a heapdump somewhere next week.

Tom

off-topic: I saw two great tools at JavaOne for this kind of thing:
VisualVM  (visualvm.dev.java.net) for monitoring and Eclipse Memory
Analyzer (eclipse.org/sat) for analyzing heap dumps.



On Fri, May 23, 2008 at 4:52 PM, Kohsuke Kawaguchi <[hidden email]> wrote:

> It's possible that there's some kind of memory leak. Another
> possibility is when you parse a huge XML document, because XML parsers
> tend to intern strings, which are put into the permgen.
>
> Can you get a heap dump?
>
> 2008/5/23 Tom Huybrechts <[hidden email]>:
>> Hi all,
>>
>> I'm getting PermGen errors on one of my slaves that has been running
>> for quite awhile.
>> I do quite a lot of remote calls through Hudson remoting in custom
>> plugins. Could this have something to do with it ?
>>
>> Tom
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: [hidden email]
>> For additional commands, e-mail: [hidden email]
>>
>>
>
>
>
> --
> Kohsuke Kawaguchi
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [hidden email]
> For additional commands, e-mail: [hidden email]
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: [hidden email]
For additional commands, e-mail: [hidden email]