Re: [racket] Memory and delimited continuations

2011-10-29 Thread nicolas.o...@gmail.com
The new master version got rid of my memory leak. Thank you so much for the quick patch. Best, Nicolas. _ For list-related administrative tasks: http://lists.racket-lang.org/listinfo/users

Re: [racket] Memory and delimited continuations

2011-10-29 Thread Matthew Flatt
I've pushed a repair. Your earlier suspicion of a space-safety problem was correct, but the needlessly retained reference was in the core implementation of applying a composable continuation. (Perhaps ironically, the incorrectly held reference was to a meta-continuation as part of the code that im

Re: [racket] Memory and delimited continuations

2011-10-29 Thread nicolas.o...@gmail.com
Thank you very much. If I can help in any way, please ask. Best regards, Nicolas. _ For list-related administrative tasks: http://lists.racket-lang.org/listinfo/users

Re: [racket] Memory and delimited continuations

2011-10-29 Thread Matthew Flatt
Thanks for the example! I agree that there's a bug here, and I'm still investigating. At Thu, 27 Oct 2011 19:57:57 +0100, "nicolas.o...@gmail.com" wrote: > Dear all, > > Following on my memory leak problem, I managed to minimise my program. > And I still don't understand why it leaks. > > Here i

[racket] Memory and delimited continuations

2011-10-27 Thread nicolas.o...@gmail.com
Dear all, Following on my memory leak problem, I managed to minimise my program. And I still don't understand why it leaks. Here is a minimised example: (define prompt1 (make-continuation-prompt-tag 'p1)) (define prompt2 (make-continuation-prompt-tag 'p2)) (define (capture-and-abort prompt-tag)