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

Home » Public Forums » archive » assoc() allocates memory... why?
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
assoc() allocates memory... why? [message #5845] Sat, 17 February 1996 00:00
tarrall is currently offline  tarrall
Messages: 1
Registered: February 1996
Junior Member
This is re. vanilla IDL 4.0.1, not PV-Wave, but I'm posting here as
the comp.lang.idl newsgroup looks dead, at least at our site.

The IDL documentation claims quite clearly that assoc() does not
hold the data from the associated file in memory. However, it still
seems to allocate the memory; under both IRIX and SunOS when I
do something like:
openr,1,"bigfile"
x = assoc(1,fltarr(1000,301,180))
all the memory necessary to hold a 1000x301x180 array of floats
(i.e. 215 MB) is allocated by IDL. This seems very inefficient
at best and perhaps even just plain dumb...

Anyone have any comments on this?

--
-Robert Tarrall.-
Unix System/Network Admin
Laboratory for Computational Dynamics
CU - Boulder
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: Re: assoc() allocates memory... why?
Next Topic: Calling A C program without LINKNLOAD

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

Current Time: Fri Oct 10 16:01:10 PDT 2025

Total time taken to generate the page: 2.08111 seconds