guile-devel
[Top][All Lists]
Advanced

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

Re: GC Warning related to large mem block allocation - Help needed


From: David Pirotte
Subject: Re: GC Warning related to large mem block allocation - Help needed
Date: Sat, 30 Dec 2017 00:35:39 -0200

Hi again,

> Currently, using guile-cv upon large images triggers these warnings,
> using guile guile 2.2.3:
> 
>       GC Warning: Repeated allocation of very large block (appr. size 
> 775237632):
>         May lead to memory leak and poor performance.

Of course you don't need guile-cv to reproduce the problem; if you have enough 
mem,
you can try (or try reducing the mem block, raising the iota arg ...):

scheme@(guile-user)> ,use (srfi srfi-4)
scheme@(guile-user)> (for-each (lambda (i) (make-f32vector 100000000)) (iota 
100))
GC Warning: Repeated allocation of very large block (appr. size 400003072):
        May lead to memory leak and poor performance.
GC Warning: Repeated allocation of very large block (appr. size 400003072):
        May lead to memory leak and poor performance.
GC Warning: Repeated allocation of very large block (appr. size 400003072):
        May lead to memory leak and poor performance.
...

David

Attachment: pgpbp3GgWYbAH.pgp
Description: OpenPGP digital signature


reply via email to

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