Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.java.programmer > #18794
| Newsgroups | comp.lang.java.programmer |
|---|---|
| Date | 2012-09-16 16:58 -0700 |
| References | <k305t6$n8o$1@news.m-online.net> <ofrb58pjpqob6qu3lt3ub618d24p0h6jv7@4ax.com> |
| Message-ID | <934afd5a-c848-4598-b503-516260d90f7e@googlegroups.com> (permalink) |
| Subject | Re: Exception - Java heap space |
| From | Lew <lewbloch@gmail.com> |
Roedy Green wrote: > Magnus Warker wrote, quoted or indirectly quoted someone who said : >>OutOfMemoryError > > I presume you have no problem understanding what "out of memory" > means. You want to know WHY this happened. > > 1. perhaps your problem is too big for the amount of RAM. Change the > memory assignments on the java.exe command line. See > http://mindprod.com/jgloss/javaexe.html > > 2. Perhaps you are packratting, holding on to objects you don't really > need. See http://mindprod.com/jgloss/packratting.html > > 3. You need a tool to figure out what is happening, letting you > monitor how many objects there are of various types. see > http://mindprod.com/jgloss/profiler.html Useful standard tools for memory woes: http://docs.oracle.com/javase/7/docs/technotes/tools/index.html#monitor http://docs.oracle.com/javase/7/docs/technotes/tools/share/jstat.html http://docs.oracle.com/javase/7/docs/technotes/tools/share/jhat.html -- Lew
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