[Date Prev][Date Next][Thread Prev][Thread Next]
- Subject: Re: Garbage collection causes stack overflow
- From: Roberto Ierusalimschy <roberto@...>
- Date: Thu, 11 Apr 2019 09:16:59 -0300
> To my surprise the program failed in another way. As the memory usage is
> increased, Lua calls the garbage collector to free up some memory. Each
> time the garbage collector is running, it is using more and more stack,
> leading to stack overflow long before the heap is exhausted. It seems that
> no matter how much I increase the stack size, the garbage collector will
> eat it all very soon.
Don't you have a stack trace?