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

Home » Public Forums » archive » IDL 8 uses 3x the memory of IDL 7.1
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
IDL 8 uses 3x the memory of IDL 7.1 [message #73635] Mon, 15 November 2010 17:29 Go to next message
James[2] is currently offline  James[2]
Messages: 44
Registered: November 2009
Member
Hi Friends,

I just installed IDL 8, and it's using 334 MB of memory for the
Workbench, compared to 114 for the IDL 7.1 Workbench. This is causing
some problems for me, since I am forced to run IDL in 32-bit mode to
use my external C functions, and I run out of memory.

I was wondering if anyone else is experiencing this phenomenon, and if
there is any way to reduce memory consumption by the Workbench.
Re: IDL 8 uses 3x the memory of IDL 7.1 [message #75797 is a reply to message #73635] Tue, 03 May 2011 08:33 Go to previous message
Scott[1] is currently offline  Scott[1]
Messages: 33
Registered: September 2009
Member
If you edited the right file and restarted then the IDL Workbench
process should now be consuming no more than 128M of ram on your
machine. Can you confirm that? What kind of "memory problems" are you
having now?
Re: IDL 8 uses 3x the memory of IDL 7.1 [message #75824 is a reply to message #73635] Thu, 28 April 2011 18:10 Go to previous message
JP is currently offline  JP
Messages: 55
Registered: April 2008
Member
the idlde.ini is set to

-vm
C:\Program Files\ITT\IDL\IDL80\bin\bin.x86\jre\bin
-vmargs
-Xms128m
-Xmx128m
-XX:MaxPermSize=128m

but i still have memory problems.

cheers

JP
Re: IDL 8 uses 3x the memory of IDL 7.1 [message #75825 is a reply to message #73635] Thu, 28 April 2011 18:07 Go to previous message
JP is currently offline  JP
Messages: 55
Registered: April 2008
Member
thanks Code Pilot, I'll try and install 8.1.
Re: IDL 8 uses 3x the memory of IDL 7.1 [message #75834 is a reply to message #73635] Thu, 28 April 2011 08:06 Go to previous message
Scott[1] is currently offline  Scott[1]
Messages: 33
Registered: September 2009
Member
In order to reduce the memory footprint of the IDL workbench, find the
following file based on the location of your 8.0 installation
directory:

C:\Program Files\ITT\IDL\IDL80\bin\bin.x86\idlde.ini

Open that file in a text editor and it should look something like
this:

-vm
C:\Program Files\ITT\IDL\IDL80\bin\bin.x86\jre\bin
-vmargs
-Xms256M
-Xmx768M
-XX:MaxPermSize=128m

The important lines are:

-Xms256M
-Xmx768M

The -Xms parameter tells the workbench how many megs of RAM to
allocate at startup and the -Xmx parameter tells the workbench how
many megs of RAM it can grow to (should be equal to or larger than the
-Xms setting). You can reduce these numbers to solve your problem.

I would not recommend reducing them lower than:

-Xms128M
-Xmx128M

however since the workbench needs at least 128 megs to run properly
without hiccups.

Cheers,
Scott
Re: IDL 8 uses 3x the memory of IDL 7.1 [message #75835 is a reply to message #73635] Thu, 28 April 2011 07:50 Go to previous message
codepod is currently offline  codepod
Messages: 19
Registered: March 2006
Junior Member
On Apr 27, 7:26 pm, JP <guersch...@gmail.com> wrote:
> Hi all,
>
> I've been reading a bit about the memory issues with IDL8 in windows including David's article inhttp://www.idlcoyote.com/misc_tips/idl8mem.html
> I still have problems doing what he suggested. Should I go back to 7.x until ITT resolves this?
>
> cheers
>
> JP

IDL 8.1 separated the DE and the underlying IDL process, reverting to
the previous structure and providing more free memory to IDL. As part
of this effort, the process communication between the DE and IDL was
also rewritten to increase stability and interactive performance.

8.1 was released a few weeks ago.

-K
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: Re: IDL v8 not recognizing bash environment variable
Next Topic: serial port (x86_64 vs x86)

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

Current Time: Wed Oct 08 15:10:07 PDT 2025

Total time taken to generate the page: 0.00526 seconds