Sorry for the late reply, but this time I have an example that crashes because of the garbage collector. You don't have to do anything. Just start the program, wait for the garbage to raise until around 1024 kb, then the garbage collector kicks in and kills everything. If you disable the the line w...
function love.load() spriteSheets = love.graphics.newImage("tiles.png") tilesSprite = generateQuads(spriteSheets, 16, 16) love.window.setMode(33*16, 28*16) love.graphics.setDefaultFilter('nearest', 'nearest') -- ... end You should call love.graphics.setDefaultFilter() before creating any ...