[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

20040930: Can I boost

This archive contains answers to questions sent to Unidata support through mid-2025. Note that the archive is no longer being updated. We provide the archive for reference; many of the answers presented here remain technically correct, even if somewhat outdated. For the most up-to-date information on the use of NSF Unidata software and data services, please consult the Software Documentation first.


  • Subject: 20040930: Can I boost
  • Date: Thu, 30 Sep 2004 16:31:41 -0600

>From: Rich Signell <address@hidden>
>Organization: USGS
>Keywords: 200409302046.i8UKk2UE010100 IDV memory usage

Hi Rich-

>ODV-gurus,

That's IDV-gurus to you. ;-)

>I have 2 GB of RAM and ODV is running out of memory on one
>of my datasets.  I just wondered whether the line:
>
>java -Xmx512m -jar idv.jar
>
>was somehow only accessing 512Mb of RAM and if so,
>could be increased.

The 512m is 512 MB of heap for the Java Virtual Machine (JVM).
When it hits that, you'll get the OutOfMemoryError.  For a 2 GB
machine, you could boost it to -Xmx1536m if you want and
see where that gets you.  You'll want to leave some for the
operating system.  Swapping isn't pretty.

Don Murray
NOTE: All email exchanges with Unidata User Support are recorded in the
Unidata inquiry tracking system and then made publicly available
through the web.  If you do not want to have your interactions made
available in this way, you must let us know in each email you send to us.