Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.java.programmer > #18780
| From | Daniel Pitts <newsgroup.nospam@virtualinfinity.net> |
|---|---|
| Newsgroups | comp.lang.java.programmer |
| Subject | Re: Exception - Java heap space |
| References | <k305t6$n8o$1@news.m-online.net> <abhknrFfcjaU2@mid.individual.net> <e6e09b6e-0974-48eb-b5e6-db8abf36f8ce@googlegroups.com> |
| Message-ID | <lTN4s.1373$vo4.1204@newsfe05.iad> (permalink) |
| Date | 2012-09-14 15:06 -0700 |
On 9/14/12 2:19 PM, Lew wrote: > Robert Klemme wrote: >> Magnus Warker wrote: >>> below is an exception found in my tomcat log. It's a GWT app. >> >>> What is going on there? >> >>> ----- >>> Sep 14, 2012 10:58:14 PM org.apache.catalina.core.ApplicationContext log >>> SEVERE: Exception while dispatching incoming RPC call >>> java.lang.OutOfMemoryError: Java heap space >>> ... >> >> Well, what do you think does OutOfMemoryError mean? What does the > > Ooh! Ooh! I know! It means the JVM ran out of heap memory for new allocations. > >> class's JavaDoc say? Beyond that since we have almost zero information >> and there's nobody with a crystal ball around (AFAIK) we'll have a hard >> time answering the question more thoroughly. > > One common cause is failure to let go of object references. > Another (which seems as likely in this case) appending too much data to an automatically resizing buffer, such as a StringBuilder, or ArrayList. Given the stack trace, it appears the be an ArrayList. It could be the OP needs to increase the memory allowed. It also could be that too much data is being submitted (looks like a RPC<->gwt bridge, maybe they are sending the whole world).
Back to comp.lang.java.programmer | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
Exception - Java heap space Magnus Warker <magnux@mailinator.com> - 2012-09-14 23:01 +0200
Re: Exception - Java heap space Robert Klemme <shortcutter@googlemail.com> - 2012-09-14 23:09 +0200
Re: Exception - Java heap space Lew <lewbloch@gmail.com> - 2012-09-14 14:19 -0700
Re: Exception - Java heap space Daniel Pitts <newsgroup.nospam@virtualinfinity.net> - 2012-09-14 15:06 -0700
Re: Exception - Java heap space Roedy Green <see_website@mindprod.com.invalid> - 2012-09-16 08:23 -0700
Re: Exception - Java heap space Lew <lewbloch@gmail.com> - 2012-09-16 16:58 -0700
Re: Exception - Java heap space Kevin McMurtrie <mcmurtrie@pixelmemory.us> - 2012-09-18 22:25 -0700
csiph-web