Beefy Boxes and Bandwidth Generously Provided by pair Networks
XP is just a number
 
PerlMonks  

Re: Re: Re: Re: Re: Hash Entry Deallocation

by bart (Canon)
on Sep 02, 2003 at 14:14 UTC ( [id://288318]=note: print w/replies, xml ) Need Help??


in reply to Re: Re: Re: Re: Hash Entry Deallocation
in thread Hash Entry Deallocation

I don't know exactly why you mention MacOS... by which I assume you mean pre-OSX. On Macintosh the programs not only can't give back memory to the OS, they can't even receive more memory if they need it. All memory is preallocated to a program when it starts up, and that's all it can get. The Finder (the GUI layer on top of the OS) is the only program not restricted by this rule. AFAIK.

--
bart, an old time Mac user

  • Comment on Re: Re: Re: Re: Re: Hash Entry Deallocation

Replies are listed 'Best First'.
Re: Re: Re: Re: Re: Re: Hash Entry Deallocation
by Elian (Parson) on Sep 02, 2003 at 14:28 UTC
    On OS 9 and before versions of MacOS, you can, in fact, allocate memory outside what is allocated to your program. It's not recommended, as it fragments the remaining memory and can make things problematic for the system (and isn't freed if your program's killed, IIRC, not that killing a program's all that safe under OS 9- anyway) but it's quite doable.

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://288318]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others romping around the Monastery: (4)
As of 2024-04-19 23:12 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found