Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.java.programmer > #18791

Re: Exception - Java heap space

From Roedy Green <see_website@mindprod.com.invalid>
Newsgroups comp.lang.java.programmer
Subject Re: Exception - Java heap space
Date 2012-09-16 08:23 -0700
Organization Canadian Mind Products
Message-ID <ofrb58pjpqob6qu3lt3ub618d24p0h6jv7@4ax.com> (permalink)
References <k305t6$n8o$1@news.m-online.net>

Show all headers | View raw


On Fri, 14 Sep 2012 23:01:55 +0200, Magnus Warker
<magnux@mailinator.com> 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
-- 
Roedy Green Canadian Mind Products http://mindprod.com
The iPhone 5 is a low end Rolex. 

Back to comp.lang.java.programmer | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


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