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 
Switch to threaded view of this topic Create a new topic Submit Reply
Re: IDL8 memory allocation [message #72486] Tue, 07 September 2010 11:00
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
Re: IDL8 memory allocation [message #72488 is a reply to message #72486] Tue, 07 September 2010 10:09 Go to previous message
TFE is currently offline  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 Go to previous message
Scott[1] is currently offline  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
  Switch to threaded view of this topic Create a new topic Submit Reply
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 14:16:04 PDT 2025

Total time taken to generate the page: 3.67481 seconds