Known Issues Windows
Unable to allocate memory: to make array error - but there's plenty of memory available?
A fix for this problem is to modify the idlde.ini file located at:
C:\Program Files\Exelis\IDL85\bin\bin.x86_64\idlde.ini (64-bit IDL 8.5)
with the following:
- Xms512m
- Xmx16384m
The Xmx setting sets the maximum size of the memory allocation pool available to IDL, and Xms sets the initial size of the memory allocation pool available to IDL.
These settings - 512m and 16384m - are known to work on Windows 7, IDL 8.5 with 32GB of RAM; you may have to adjust the allocations for your specific machine. Note that setting the initial allocation to the same value as the maximum allocation will cause IDL to become very unstable and IDL probably won't run if the initial or maximum are above the total memory available on your machine.
For more information on these settings, see:
http://docs.oracle.com/javase/7/docs/technotes/tools/solaris/java.html
If you've made these changes and are still experiencing problems, be sure to check that the correct, 64-bit version of IDL is opening in the IDL console immediately after launch:
IDL Version 8.5.1, Microsoft Windows (Win32 x86_64 m64).
(c) 2015, Exelis Visual Information Solutions, Inc., a subsidiary of Harris Corporation.