> > lstrlib.c: LUA_ERRRUN : "test.lua:11: resulting string too large" This error is not caused by memory exhaustion. It means that the resulting string is too large to be handled by Lua, despite how much memory is available. -- Roberto