dev@glassfish.java.net

Re: QL with OutOfMemoryError

From: Shing Wai Chan <Shing-Wai.Chan_at_Sun.COM>
Date: Mon, 26 Jan 2009 18:22:32 -0800

It seems that if I add the following jvm options, then QL always passes
in Mac.
    -XX:PermSize=64m -XX:MaxPermSize=128m

Shing Wai Chan


Shing Wai Chan wrote:
> Hi,
> I have updated the workspace this morning.
> In Mac, I notice that the QL fails from time to time with the
> following in serverl.log.
> It seems to be ok in Solaris x86.
>
> java.lang.OutOfMemoryError: PermGen space
> at
> com.sun.xml.ws.message.jaxb.JAXBMessage.writePayloadTo(JAXBMessage.java:314)
>
> at
> com.sun.xml.ws.message.AbstractMessageImpl.writeTo(AbstractMessageImpl.java:142)
>
> at
> com.sun.xml.ws.encoding.StreamSOAPCodec.encode(StreamSOAPCodec.java:109)
> at
> com.sun.xml.ws.encoding.SOAPBindingCodec.encode(SOAPBindingCodec.java:258)
>
> at
> com.sun.xml.ws.transport.http.HttpAdapter.encodePacket(HttpAdapter.java:338)
>
> at
> com.sun.xml.ws.transport.http.HttpAdapter.access$100(HttpAdapter.java:93)
> at
> com.sun.xml.ws.transport.http.HttpAdapter$HttpToolkit.handle(HttpAdapter.java:480)
>
> at
> com.sun.xml.ws.transport.http.HttpAdapter.handle(HttpAdapter.java:244)
> at
> com.sun.xml.ws.transport.http.servlet.ServletAdapter.handle(ServletAdapter.java:135)
>
> at
> com.sun.xml.ws.transport.http.servlet.WSServletDelegate.doGet(WSServletDelegate.java:129)
>
> at
> com.sun.xml.ws.transport.http.servlet.WSServletDelegate.doPost(WSServletDelegate.java:160)
>
> at
> com.sun.xml.ws.transport.http.servlet.WSServlet.doPost(WSServlet.java:75)
> at javax.servlet.http.HttpServlet.service(HttpServlet.java:754)
> at javax.servlet.http.HttpServlet.service(HttpServlet.java:847)
>
> Regards,
> Shing Wai Chan
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe_at_glassfish.dev.java.net
> For additional commands, e-mail: dev-help_at_glassfish.dev.java.net
>