unofficial mirror of bug-guile@gnu.org 
 help / color / mirror / Atom feed
* Memory not being reclaimed (apparently)
@ 2011-05-31 13:47 Daniel Oliveira
  2011-05-31 20:16 ` Mark H Weaver
  0 siblings, 1 reply; 2+ messages in thread
From: Daniel Oliveira @ 2011-05-31 13:47 UTC (permalink / raw)
  To: bug-guile

[-- Attachment #1: Type: text/plain, Size: 154 bytes --]

To reproduce:

(define (fact n)
  (let loop ((i 1) (r 1))
    (if (> i n) r (loop (+ i 1) (* r i)))))

(fact 123456)

Watch your computer get unusable :)

[-- Attachment #2: Type: text/html, Size: 190 bytes --]

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: Memory not being reclaimed (apparently)
  2011-05-31 13:47 Memory not being reclaimed (apparently) Daniel Oliveira
@ 2011-05-31 20:16 ` Mark H Weaver
  0 siblings, 0 replies; 2+ messages in thread
From: Mark H Weaver @ 2011-05-31 20:16 UTC (permalink / raw)
  To: Daniel Oliveira; +Cc: bug-guile

Hi Daniel,

Daniel Oliveira <psykon@gmail.com> writes:
> To reproduce:
>
> (define (fact n)
>   (let loop ((i 1) (r 1))
>     (if (> i n) r (loop (+ i 1) (* r i)))))
>
> (fact 123456)
>
> Watch your computer get unusable :)

I have posted a patch to guile-devel that fixes this problem.  The
subject is "[PATCH] Configure GMP to use GC allocation functions, remove
bignum finalizers".

    Thanks,
      Mark



^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2011-05-31 20:16 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-05-31 13:47 Memory not being reclaimed (apparently) Daniel Oliveira
2011-05-31 20:16 ` Mark H Weaver

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).