comp.lang.idl-pvwave archive
Messages from Usenet group comp.lang.idl-pvwave, compiled by Paulo Penteado

Home » Public Forums » archive » Re: IDL8 memory allocation
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Return to the default flat view Create a new topic Submit Reply
Re: IDL8 memory allocation [message #72486] Tue, 07 September 2010 11:00 Go to previous message
TFE is currently offline  TFE
Messages: 11
Registered: November 2001
Junior Member
Scott,
operations on the IDL8 array still fragile compared to IDL7.1
IDL> data = LONARR(10000, 10000)
IDL> help, data
DATA LONG = Array[10000, 10000]
IDL> help, data[2:*,*]
% Unable to allocate memory: to make array.
Not enough space
% Execution halted at: $MAIN$

> Assuming you are on a 32-bit platform, the issue here is there is too
> much RAM allocated to the JVM to run the workbench and not enough for
> IDL. To increase the memory available to IDL, navigate to the
> idlde.ini file in the bin/bin.<arch> folder (a peer to the idlde
> executable). That file should look like this:
>
> -vm
> {VM_DIR}
> -vmargs
> -Xms256M
> -Xmx768M
> -XX:MaxPermSize=128m
>
> Change it to look like this and restart the workbench:
>
> -vm
> {VM_DIR}
> -vmargs
> -Xms128M
> -Xmx128M
>
> where {VM_DIR} is the path to the JVM (should not change). This issue
> is fixed in 8.0.1.
>
> Cheers,
> Scott
[Message index]
 
Read Message
Read Message
Read Message
Previous Topic: xloadct: color table from file persists
Next Topic: IDL invoked by cron, turning into zombie (hanging, not crashing)

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ] [ PDF ]

Current Time: Sun Oct 12 07:15:51 PDT 2025

Total time taken to generate the page: 1.12040 seconds