Re: IDL8 memory allocation [message #72486] |
Tue, 07 September 2010 11:00 |
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
|
|
|
Re: IDL8 memory allocation [message #72488 is a reply to message #72486] |
Tue, 07 September 2010 10:09  |
TFE
Messages: 11 Registered: November 2001
|
Junior Member |
|
|
Hi Scott,
great - thanks much!
> 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
|
|
|
Re: IDL8 memory allocation [message #72489 is a reply to message #72488] |
Tue, 07 September 2010 09:57  |
Scott[1]
Messages: 33 Registered: September 2009
|
Member |
|
|
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
|
|
|