On Thu, Nov 05, 2026 at 01:15:05PM +0200, Elko Tchernev wrote:
> However, Marker does not release the memory and does not restore code_here.
> It is foreseen in the code, line 94 of marker.fs
>     cell+ [IFDEF] forget-dyncode dup forget-dyncode3 drop [then]
> But since forget-dyncode is undefined, it does not do it, which leads to a
> memory leak, especially when you compile and forget millions of definitions.
> Is the current setting on purpose, or a bug?

Looks like a bug to me.  This should read

    cell+ [IFDEF] forget-dyncode3 dup forget-dyncode3 drop [then]

However, it seems that forget-dyncode3 was never tested.  Since you
are apparently a serious user of MARKER, could you try it and report
if it works as it should, as far as you can say.

We did not find this kind of bug earlier because we do not use MARKER
ourselves.  My impression has been that MARKER requires much more
implementation effort than is justified by the tiny benefit it gives.

Maybe you could elaborate on your use of marker to raise our awareness
of the benefits of using MARKER.

- anton

Reply via email to