Monday, April 23, 2018

Re: issue with gwt RPC

I am getting the same error.

I need to understand more what exactly is GWT trying to do when running out of memory.

Looks like it is doing some streaming, then it should do it buffered way, what is the buffer size of GWT ? Is it more than 10MB ?

Thanks in advance.

On Tuesday, 24 January 2012 16:26:24 UTC+5:30, Daniel Kurka wrote:
Your server is running out of memory. Give your sever some more RAM at startup.

- Daniel Kurka

Am 23.01.2012 um 15:45 schrieb fceransky:

> Hello, sorry to disturb you with that.
>
> But I have no clue how to fix the problem:
> It's the log from my tomcat when I try to use a AsyncCallback:
>
> Thanks by advance
>
> Fred
>
> Jan 23, 2012 1:47:04 PM org.apache.catalina.core.ApplicationContext
> log
> SEVERE: Exception while dispatching incoming RPC call
> java.lang.OutOfMemoryError: Java heap space
>        at
> java.lang.AbstractStringBuilder.<init>(AbstractStringBuilder.java:45)
>        at java.lang.StringBuffer.<init>(StringBuffer.java:91)
>        at
> com.google.gwt.user.server.rpc.impl.ServerSerializationStreamWriter
> $LengthConstrainedArray.<init>(ServerSerializationStreamWriter.java:
> 64)
>        at
> com.google.gwt.user.server.rpc.impl.ServerSerializationStreamWriter.toString(ServerSerializationStreamWriter.java:
> 551)
>        at com.google.gwt.user.server.rpc.RPC.encodeResponse(RPC.java:
> 619)
>        at
> com.google.gwt.user.server.rpc.RPC.encodeResponseForSuccess(RPC.java:
> 474)
>        at
> com.google.gwt.user.server.rpc.RPC.invokeAndEncodeResponse(RPC.java:
> 571)
>        at
> com.google.gwt.user.server.rpc.RemoteServiceServlet.processCall(RemoteServiceServlet.java:
> 208)
>        at
> com.google.gwt.user.server.rpc.RemoteServiceServlet.processPost(RemoteServiceServlet.java:
> 248)
>        at
> com.google.gwt.user.server.rpc.AbstractRemoteServiceServlet.doPost(AbstractRemoteServiceServlet.java:
> 62)
>        at javax.servlet.http.HttpServlet.service(HttpServlet.java:
> 637)
>        at javax.servlet.http.HttpServlet.service(HttpServlet.java:
> 717)
>        at
> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:
> 290)
>        at
> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:
> 206)
>        at
> org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:
> 233)
>        at
> org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:
> 191)
>        at
> org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:
> 127)
>        at
> org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:
> 102)
>        at
> org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:
> 109)
>        at
> org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:
> 298)
>        at
> org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:
> 859)
>        at org.apache.coyote.http11.Http11Protocol
> $Http11ConnectionHandler.process(Http11Protocol.java:588)
>        at org.apache.tomcat.util.net.JIoEndpoint
> $Worker.run(JIoEndpoint.java:489)
>        at java.lang.Thread.run(Thread.java:662)
>
> --
> You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group.
> To post to this group, send email to google-we...@googlegroups.com.
> To unsubscribe from this group, send email to google-web-toolkit+unsubscribe@googlegroups.com.
> For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
>

--
You received this message because you are subscribed to the Google Groups "GWT Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to google-web-toolkit+unsubscribe@googlegroups.com.
To post to this group, send email to google-web-toolkit@googlegroups.com.
Visit this group at https://groups.google.com/group/google-web-toolkit.
For more options, visit https://groups.google.com/d/optout.

No comments:

Post a Comment