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

Home » Public Forums » archive » Re: memory - RAM
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: memory - RAM [message #22618] Tue, 21 November 2000 00:00
Alex Schuster is currently offline  Alex Schuster
Messages: 124
Registered: February 1997
Senior Member
Stefan wrote:

> my question concerns the way IDL allocates memory (both real memory -RAM-
> and swap area)... is it possible to tell IDL to use more swap memory than
> physical?
>
> background: i have to calculate the FFT of an 3D array which is pretty large
> (about 190 MB). IDL stops the procedure with the following error message:
>
> unable to allocate memory: to make array
>
> specifications of the system:
> IDL 5.3 on UNIX, available RAM: 949 MB, free RAM: 457 MB, free swap: 2292 MB

I guess this is no IDL problem, but a limitation in the amount of memory
you are allowed to allocate. The 'limit' command tells you about it and
lets you change it, e.g. 'limit datasize 500m' sets your limit to 500
megabytes of memory. With 'unlimit datasize' you can completely get rid
of the limit. Put that command into your .cshrc file to make the change
permanent.

I also like a 'limit coredumpsize 0k' to prevent my machine from
generating coredumps in case of a segmentation fault.

Alex
--
Alex Schuster Wonko@weird.cologne.de PGP Key available
alex@pet.mpin-koeln.mpg.de
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: PLOT procedure (was: Julian Day Numbers)
Next Topic: memory - RAM

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

Current Time: Wed Oct 08 15:17:55 PDT 2025

Total time taken to generate the page: 0.00460 seconds