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

[IDV #OWL-239023]: Starting java - Heap error SOLVED

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: [IDV #OWL-239023]: Starting java - Heap error SOLVED
  • Date: Thu, 01 Dec 2016 09:22:39 -0700

Hi Walt,

That looks all fine. However, you can do these changes from within in the IDV
itself.

To increase the amount of memory available to the IDV:
https://www.unidata.ucar.edu/software/idv/docs/userguide/misc/PerformanceTuning.html

The -d64 option look suspicious to me though I don't think it can hurt.

When downloading the IDV, make sure you get the right version (32 versus 64 
bit).

Best,

Unidata IDV Support


> Full Name: Walter  Rogers
> Email Address: address@hidden
> Organization: Private Soaring Weather Support
> Package Version: 5.3
> Operating System: Windows 7 64bit
> Hardware:
> Description of problem:
> 
> FYI...
> 
> Kept getting heap error on starting IDV with a Win7 64bit OS. It would
> only start with -Xmx 1200m. Anything more caused heap error.
> 
> After loading Java 8 64 bit v112, I though that would solve problem. But,
> I had to add the -d64 flgt. That didn't work either until I found this
> trick (bug?):
> 
> java -d64-Xmx2048m
> 
> When I tried what seemed obvious:
> 
> java -d64 Xmx2048m
> 
> That is... with an extra space, I got a heap error message.
> 
> Just edit the runIDV.bat to include the --d64 like this:
> 
> java -d64-Xmx2048m ...
> 
> or whatever heap size you need.
> 
> Hope this solves others more frustration that necessary over the holiday
> season :)
> 
> Walt Rogers
> 
> 


Ticket Details
===================
Ticket ID: OWL-239023
Department: Support IDV
Priority: Normal
Status: Closed
===================
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.