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

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



Hi Walt,

OK, thanks for letting us know. We are actually in the process of updating the
version of Java that is distributed with the IDV. Stay tuned.

Best,

Unidata IDV Support

> I agree that the -d64 option looks suspicious, but it was necessary with
> my Windows 7 64 bit, Java 8 v112
> 
> Actually, I changed the *.bat file to this:
> 
> -d64-Xmx%idv_memory%m
> 
> The absence of a space character after -d64 is intentional and necessary.
> 
> IDV's system setting was too high for java to start without a heap
> error, and initially I had to set it manually to < 1200m. I thought my
> error was in using a java 32 bit version, but the error remained even
> after using java 8 64 bit v112. Cleared up only after adding the -d64
> option with no space afterward.
> 
> I suspect that future versions of java may correct this bug, and I'll
> have to change the script again.
> 
> Walt
> 
> 
> 
> On 12/1/2016 8:22 AM, Unidata IDV Support wrote:
> > 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.
> >
> >
> 
> 


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.