Skip to content

memory usage steadily increases when using canvases #28

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
tesselode opened this issue Aug 29, 2019 · 0 comments · May be fixed by #46
Open

memory usage steadily increases when using canvases #28

tesselode opened this issue Aug 29, 2019 · 0 comments · May be fixed by #46

Comments

@tesselode
Copy link
Contributor

If you run a main.lua with the following code:

local push = require 'push'

push:setupScreen(384, 216, 1280, 720)

function love.draw()
	push:start()
	love.graphics.print('Memory usage: ' .. math.floor(collectgarbage 'count') .. 'kb')
	push:finish()
end

The memory usage will steadily increase. This doesn't happen if canvases are disabled using {canvas = false}.

@htv04 htv04 mentioned this issue Aug 31, 2021
@htv04 htv04 linked a pull request Jul 13, 2022 that will close this issue
@htv04 htv04 linked a pull request Jul 13, 2022 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant