[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: lua5.1: Lua stack is too small for a script that takes over 2048 arguments
- From: Norman Ramsey <nr@...>
- Date: Fri, 21 Dec 2007 18:13:24 -0500
> Well, Linux 2.6 itself has a limit of 32K entries in *argv[], which has
> always struck me as annoying...
>
> For this sort of use, I don't particularly care whether the limit is 2KB
> or 32KB -- the issue is that there is an arbitrary limit...
>
> So by all means bump 2048 up to 32K (a handly match for Linux 2.6) but it
> doesn't really fix anything.
Indeed not. But it would be nice for the lossage to be blamed on the OS,
not on Lua :-)
Norman