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

Home » Public Forums » archive » Memory allocation problem:
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Return to the default flat view Create a new topic Submit Reply
Re: Memory allocation problem: [message #11175 is a reply to message #11016] Wed, 25 February 1998 00:00 Go to previous message
jyli is currently offline  jyli
Messages: 21
Registered: November 1995
Junior Member
David Fanning (davidf@dfanning.com) wrote:

: This is a result of IDL being written in C and using the C library
: functions (malloc and free) for memory allocation. In most C libraries,
: memory that is freed is NOT returned to the operating system. The C
: program retains this memory and will reuse it for future calls to malloc
: (assuming that the new allocation will fit in the freed block).

Retains this memory for how long?
(1) life of a subroutine
(2) life of a main routine
(3) life of an IDL session

thanks

--

------------------------------------------------------------ ------------
Jason Y. Li | Tel : (301) 286-1029
Climate and Radiation Branch | Fax : (301) 286-1759
NASA Goddard Space Flight Center | WWW : http://climate.gsfc.nasa.gov
Greenbelt, MD 20771, USA | Email: jyli@climate.gsfc.nasa.gov
------------------------------------------------------------ ------------
Beauty of style, harmony, grace and good rhythm depend on simplicity.
[Message index]
 
Read Message
Read Message
Read Message
Previous Topic: project_vol() in IDL
Next Topic: New dialog routines

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

Current Time: Sun Oct 12 03:32:39 PDT 2025

Total time taken to generate the page: 0.16295 seconds