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

Freeing memory is very slow #3

Open
tamc opened this issue Jun 12, 2012 · 1 comment
Open

Freeing memory is very slow #3

tamc opened this issue Jun 12, 2012 · 1 comment
Labels

Comments

@tamc
Copy link
Owner

tamc commented Jun 12, 2012

With the 2050 pathway calculator example: calculating the pathway takes about 40ms. The reset method that frees allocated memory increases this to 120ms.

@energynumbers
Copy link

I haven't noticed a big hit on pathway calculation, but memory use has certainly dropped, and pretty much stabilised.

As I wrote elsewhere: memory use quickly stabilises just under 200 MB, and then very slowly rises by about 0.1MB or so, now and again. After a few dozen hits, it seemed to settle at 200.6MB, after rising to 200.7MB. A lot of hits later, it had risen to 205.9MB. So there would still appear to be a small leak, but it's pretty slow, and easily resolved with a restart of Rack once in a while - rare enough (on my server at least) to not be a critical problem.

@tamc tamc added the C label Feb 3, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants