guile-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Bringing back gc-live-object-stats


From: Amirouche Boubekki
Subject: Re: Bringing back gc-live-object-stats
Date: Thu, 16 May 2019 14:10:32 +0200

Thanks for your reply.

Le jeu. 16 mai 2019 à 03:41, Mark H Weaver <address@hidden> a écrit :
Amirouche Boubekki <address@hidden> writes:

> I am stuck with a memory leak. I think gc-live-object-stats [0] would help.
>
> [0] https://www.gnu.org/software/guile/manual/html_node/Garbage-Collection-Functions.html#index-gc_002dlive_002dobject_002dstats
>
> Can some explain to me how to bring it back?

Personally, I suggest finding another approach to debug your leak.

I don't want to spend much time on this, because I suspect it would be a
lot of work for questionable benefit, and it's not clear whether the
result of that work will be acceptable to either libgc or Guile.  It
might introduce too much added complexity or overhead.

Then it would be preferable to remove it from the manual.

My understanding of how GC works makes unlikely there is a leak
in the Guile code except particular cases that I don't know about,
but I tested some of those. For instance, dynamic-func pointers are
collected.

Also while experimenting with the official Python bindings, I discovered
that I did not setup proper eviction configuration which leads to something
that looks like a leak. In fact, it is just that wiredtiger can not keep up with
the batch load in the default configuration.

Anyway, Thanks!

reply via email to

[Prev in Thread] Current Thread [Next in Thread]