lua-users home
lua-l archive

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


On Wednesday 03, Stefan Reich wrote:
> Memory can be handled similarly. In the worst case, we'll patch the
> interpreter and add a check in the allocator. Any more questions? :)

For limiting memory usage I would recommend my Emergency GC patch:
http://lua-users.org/wiki/EmergencyGarbageCollector

Using just a custom allocator (without EGC support) will not allows scripts to 
run reliably when they get close to the limit.

-- 
Robert G. Jakabosky