When compiling newest stable-2.0 I noticed,

wrote `ice-9/eval.go'
  GUILEC ice-9/psyntax-pp.go
GC Warning: Repeated allocation of very large block (appr. size 69632):
    May lead to memory leak and poor performance.
wrote `ice-9/psyntax-pp.go'

E.g. basically making a thread allocates a large block for the stack and
the bohem gc explicitly tells us
that doing this will probably lead to memory leak using their gc.

So, make sure to use  "thread pools" or at least pools of stacks.

An idea is to hack on guile so that thread creation will allocate the
stacks from a pool and then see if the
memory leak is plugged.

/Stefan

Reply via email to