[Date Prev][Date Next][Thread Prev][Thread Next]
- Subject: Re: LuaJIT problems
- From: Mike Pall <mikelu-0801@...>
- Date: Mon, 28 Jan 2008 21:57:45 +0100
Mark Meijer wrote:
> I've had some problems with LuaJIT and large amounts of coroutines
> (all written in pure lua, no extra C code in there). Out of memory, as
> some may have guessed. I did some searching and gathered that the
> default stack size in Win32 might be the culprit. I tried increasing
> it to 16 meg using the compiler option /F16777216 (/F and 16 * 1024 *
> 1024) just to see if it would help, but it made no difference at all.
> Am I overlooking something?
This is a common Windows problem. You need to *decrease* the
thread stack space or you run out of virtual memory.
(scroll down to "Note for Windows" and follow the link to MSDN)