lua-users home
lua-l archive

[Date Prev][Date Next][Thread Prev][Thread Next] [Date Index] [Thread Index]


> 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...