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

Home » Public Forums » archive » Re: IDL Memory Management
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: IDL Memory Management [message #18460 is a reply to message #18458] Fri, 07 January 2000 00:00 Go to previous messageGo to previous message
Craig Markwardt is currently offline  Craig Markwardt
Messages: 1869
Registered: November 1996
Senior Member
davidf@dfanning.com (David Fanning) writes:

> Craig Markwardt (craigmnet@cow.physics.wisc.edu) writes:
>
>> Windows used to have a non-linear addressing model when physical
>> system memory was scarce. Memory was allocated in chunks which could
>> be moved around by the Windows as needed, thus alleviating the above
>> fragmentation problem. I think however that more recent versions of
>> Windows have accepted the linear "Unix" model of memory architecture
>> that I have described.
>
> As I understand it, the compiler used for the Windows versions
> of IDL *can* return process memory back to the OS. But it is
> the only one to do so. It is not a feature, apparently, of
> UNIX, Mac, and VMS compilers, which rely on Malloc and Free
> for dynamic memory allocation.

I suppose I am picking nits now. The fragmentation problem actually
has nothing to do with the Unix compilers, malloc or free. The
problem is that Unix-style processes have memory that is one
dimensional without holes. [ To get technical, blame it on the
internal brk() function. ]

Windows NT also has a single linear memory space for processes, but it
may possibly have more features to deal with fragmentation
efficiently.

Nit-ingly yours,
Craig

--
------------------------------------------------------------ --------------
Craig B. Markwardt, Ph.D. EMAIL: craigmnet@cow.physics.wisc.edu
Astrophysics, IDL, Finance, Derivatives | Remove "net" for better response
------------------------------------------------------------ --------------
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: IDL, Linux and AMD
Next Topic: Re: Surface Rendering from multiple 2-D images

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

Current Time: Sat Oct 11 10:26:22 PDT 2025

Total time taken to generate the page: 1.68546 seconds