chicken-users
[Top][All Lists]
Advanced

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

Re: [Chicken-users] out of memory - why?


From: felix
Subject: Re: [Chicken-users] out of memory - why?
Date: Fri, 22 Nov 2002 11:17:53 +0100
User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.0.0) Gecko/20020529

Joerg F. Wittenberger wrote:
Hi all,

I ran into a strange problem, after the declaration of just one more
macro my program runs into:

out of memory - heap full while resizing - execution terminated


Hm, this looks like a bug in the runtime-system. Errors like this
occur when a heap-resizing GC somehow walks over non-Scheme data:
the header of a (invalid) value contains a very big size-field
and the reallocator tries to make room for this object.

But this happens within a module, which is used by the module, which
actually uses the new macro.  To the best of my understanding, this
module should not at all be effected by the macro declaration.

Even more weird: If I insert a debug messages (printing to stderr)
before _and_ after the call to the procedure where I run out of
memory, then it gets through.  If I only add a debug message _after_
the call than something else jumps out with the same problem.  Do I
add just the message before the call, the same point fails.

I'm lost, how do I prepare a stripped down version if things fail so
unprdictable?

Anything else I could try?


Can you send me some code?


cheers,
felix






reply via email to

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