in reply to Re: Memory and garbage collection
in thread Memory and garbage collection
Oh, sorry, I meant killed, not interrupted. But I guess that brings me back to the first thing you said ("When a process dies [...]").
I'm working on a 64-bit linux machine, and I tried watching what happens to the used memory before, after and during the run of my program. After the program exits, the amount of used memory goes down, but not to what it was before I ran the program (and my process is the only one on that machine that uses a lot of memory....). So now, what I don't understand is - if the OS frees all the program's memory - why does it happen?
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^3: Memory and garbage collection
by moritz (Cardinal) on Jul 30, 2008 at 13:30 UTC | |
|
Re^3: Memory and garbage collection
by jethro (Monsignor) on Jul 30, 2008 at 13:45 UTC |