[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: A challenge: make an online Lua tutorial
- From: Luiz Henrique de Figueiredo <lhf@...>
- Date: Wed, 5 Oct 2011 10:47:18 -0300
> I note with approval that you cannot kill it with stuff like
>
> for i = 1,1e6 do print(i,'help') end
Yes, the demo script uses "ulimit -t 1" to limit CPU time and "head -c 8k"
to limit the output. (How much can you output in 1 sec of CPU with Lua? :-)
It does not currently limit memory usage. Again, how much memory can you
allocate in 1 sec of CPU with Lua? Perhaps a lot...