IDL 8 uses 3x the memory of IDL 7.1 [message #73635] |
Mon, 15 November 2010 17:29  |
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  |
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 #75834 is a reply to message #73635] |
Thu, 28 April 2011 08:06  |
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  |
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
|
|
|