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

Home » Public Forums » archive » memory
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
memory [message #49908] Wed, 30 August 2006 09:06
Jean H. is currently offline  Jean H.
Messages: 472
Registered: July 2006
Senior Member
Hello all,

Is there a way for IDL to find out the amount of available memory?

Also I am not too sure to understand how IDL is managing the virtual
memory. In the help file, they say that IDL would automatically write
information on the disk if the physical memory gets full. However, I
have a function that crashes (i.e. % Unable to allocate memory.) as soon
as my physical memory is totally used. In this function, I have to carry
a few quite large arrays that are used only once in each loop
iteration.. so technically speaking, they could be written on the disk
instead of being kept in memory!
I have 2G of physical memory, and the same amount of virtual memory (for
a suposedly nice total of 4G then).

IDL> print, !version
{ x86 Win32 Windows Microsoft Windows 6.2 Jun 20 2005 32 64}

Any thoughts would be greatly appreciated!
Jean

PS: Having to add some loops in your code because the loopless one takes
too much memory is more painfull than pulling your hairs when writing
the "optimized" code..
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: readcol with empty fields
Next Topic: Re: tvrd and multiple monitors

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

Current Time: Wed Oct 08 17:48:02 PDT 2025

Total time taken to generate the page: 0.00549 seconds