Re: memory leak

Ketil Kristiansen <[email protected]>
Newsgroups gmane.comp.apache.mod-ruby
Message-ID <[email protected]>
On Wed, 10 Dec 2003, Shugo Maeda wrote:

> At Mon, 8 Dec 2003 21:46:40 +0100 (MET),
> Ketil Kristiansen <[email protected]> wrote:
> > > mod_ruby 1.0.7 is leaking memory when Apache receives the signal USR1.
> > > Please confirm.
> >
> > This is a known problem.
[...]
> I can't solve this problem because ruby interpreter doesn't
> provide a way to free memories allocated by the interpreter.

Hmm... there is no way to make the interpreter clean up and do a restart?
I would have thought this could create similar problems in other
applications too where you'd want to embed ruby, e.g. as a language in
PostgreSQL (I don't actually remember/know if PostgreSQL works in the same
way though).

Has Matz said anything about why the required functionality is missing,
and if it will be implemented?


Best regards,
-K
-- 
"Reality is that which, when you stop believing in it,
 doesn't go away."                   - Philip K. Dick
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.