vBulletin Search Engine Optimization
| |||||||
| Register | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
| ||||
| Han Boetes wrote: > But exit(3) does not mention that exit() also frees up the memory, > if I understood Claudio right. Would it be nice to add it the > manpage? It's not exit(3) itself freeing all memory. It's the kernel when it destroys the process and with that all vm mappings associated with it. No process, no memory allocated to it. No need to put the rubbish into the dustbin right before all the house gets removed. And besides the security issue Theo mentioned, freeing takes time and will even force the memory to be paged in if it was on swap. cheers simon -- Serve - BSD +++ RENT this banner advert +++ ASCII Ribbon /"\ Work - Mac +++ space for low $$$ NOW!1 +++ Campaign \ / Party Enjoy Relax | http://dragonflybsd.org Against HTML \ Dude 2c 2 the max ! http://golden-apple.biz Mail + News / \ |
| Thread Tools | |
| Display Modes | |
|
|