From: Martin Kahlert Date: 2001-12-17T23:51:26+09:00 Subject: [ruby-talk:28778] Re: Constant loss of memory with Kernel::load in a loop Hi! On Mon, Dec 17, 2001 at 11:46:44PM +0900, ts wrote: > >>>>> "J" == Jens Nissen writes: > > J> Or am I missing something? > > Yes, the string which is the result of strdup() is stored in *each* node > that ruby will create. > > If you free it, ruby will have problem when it want to display the name of > the file (for example when it display an error message) So every node knows, where it came from. Do these node die at all before ruby exits? Does this mean, that it's not a bug but a feature? Thanks, Martin. -- The early bird catches the worm. If you want something else for breakfast, get up later.