http://qs321.pair.com?node_id=312214


in reply to Freeing memory used by arrays

It also says that the memory doesn't always get free because not any operating systems support this. I find this strange as I've never had this problem in other languages.

What other programming languages have you used? Any language that implements its own memory management system (python, lisp, scheme, etc.) will exhibit similar behavior. It's only the languages like C, C++, etc where you have fine control over memory allocation/deallocation where you mayn't see this behavior. But even then, it depends on how the language is implemented. Most C implementations (for instance) won't exhibit this behavior, but as soon as you're using a C interpreter that might have some memory management scheme, all bets are off.

Replies are listed 'Best First'.
Re: Re: Freeing memory used by arrays
by monktim (Friar) on Dec 04, 2003 at 15:29 UTC
    I primarily use C++. Before that I primarily used C and before that PL/I. Before that I used a lot of stuff that may not have really managed memory excepting 360/370 assembler :).
A reply falls below the community's threshold of quality. You may see it by logging in.