Re: What is best way to limit memory alloc?

2007-08-29 Thread Roland Orre
I found out that I had already solved the memory allocation problem in one way a few years ago. With the help of a small routine gc-heap-size, which accesses scm_i_master_freelist.heap_size scm_i_master_freelist2.heap_size I did: (define gc-heap1 (gc-heap-size 1)) (define gc-heap2 (gc-heap-size 2)

Re: What is best way to limit memory alloc?

2007-08-29 Thread Ludovic Courtès
Hi, Roland Orre <[EMAIL PROTECTED]> writes: > What is the best way to limit the memory allocation in guile? First, make sure Guile's GC knows about every bit of memory that you allocate. This means that C code run from your Guile program must use `scm_gc_malloc ()' et al. If you don't do this,

[Scheme Steering Committee announcements] R6RS Ratified

2007-08-29 Thread Mitchell Wand
According to the Scheme Charter, at the end of the review process, the Steering Committee could choose either to finalize the submitted draft or to restart the review process. In order to be sure that the new revised Scheme standard enjoyed wide support among the Scheme community, the Steering Comm

Re: What is best way to limit memory alloc?

2007-08-29 Thread Ludovic Courtès
Roland Orre <[EMAIL PROTECTED]> writes: > I found out that I had already solved the memory allocation > problem in one way a few years ago. > With the help of a small routine gc-heap-size, which accesses > scm_i_master_freelist.heap_size > scm_i_master_freelist2.heap_size > I did: > (define gc-he