Ralf Hemmecke wrote:
> 
> Well, I'm using 1.2.4 and 1.2.14. No problem with compilation, but I did
> some seemingly big computation that lead to heap exhaustion.
> 
> What actually confuses me is that it says
> 
>   Heap exhausted during garbage collection: 608 bytes available,
>   992 requested.
> 
> I would think that garbage collection starts early enough that there is
> sufficient room to copy something from one place to another and after
> that have even more space available, because some memory is released.

Well, garbage collection needs to alloctate several items.
If you allocate small items than peek memory usage will be
during garbage collection (your usage + additional items).
Now, if you are close to exhaust available memory you have
two choices:
- refuse to collect garbage because you _may_ run out
  of memory in the process
- go on with garbage collection hoping that you will
  be able to finish
It seems that sbcl simply take the second choice...

Maybe we should ask sbcl folks if there are some tunable
parameters to trigger failure earlier?

-- 
                              Waldek Hebisch

-- 
You received this message because you are subscribed to the Google Groups 
"FriCAS - computer algebra system" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/fricas-devel.
For more options, visit https://groups.google.com/d/optout.

Reply via email to