Skip to content
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

Memory Leak #1

Closed
tpendergrass opened this issue Jun 25, 2018 · 2 comments
Closed

Memory Leak #1

tpendergrass opened this issue Jun 25, 2018 · 2 comments

Comments

@tpendergrass
Copy link

Love this simulation! had to buy it, nice work.

Myself and others are getting an out of memory error in WebGL after X amount of generations.
When running locally on Windows 10, I notice that memory usage starts around 250MB and increases about 6MB per generation when simulating 40 entities for 10 seconds. This increase continues indefinitely.

When I save the simulation, exit it, and load it again, the simulation continues without issue and the memory resets back to around 250MB.

@keiwando
Copy link
Owner

Yes, I'm aware of that problem but I haven't had the time to profile it yet to see what exactly is happening. I'll make sure to fix this in the next big update, but it's unfortunately going to take a couple of months before I can work on this project again.

Thanks a lot for the support and the patience!

@keiwando
Copy link
Owner

Memory leaks should be fixed with today's v3.0.0 release.

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

No branches or pull requests

2 participants