-
Notifications
You must be signed in to change notification settings - Fork 150
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
2.0.0-alpha* version out of memory #366
Comments
Hi. Could you provide a minimalistic app that fails? Thanks. |
haven't seen this, could you provide some failing sample? |
I am so sorry that I was on vacation and didn't see the mail in time. |
The heap dump shows hundreds of thousands of spec_tools.Spec's -- but this is on 0.5.1 of spec-tools. It won't run under 0.6.1. |
Thanks. The spec-memoization is clearly not working. On vacation now, can fix that easily when back on computer. To shield against regression, do you know a way to create a unit/system test that would tell if the number of Specs grows in use? I don't. |
Interesting. Just getting back into clj thinking, so maybe -- junit mock fmwk's would in Java space assert on "times(1)" the method calls. |
back. memoization fails as the I think a real fix would be to replace the Could you test that the number of Specs floating doesn't go much over 1000 to verify that the fifo works as expected? |
Will do, and let you know -- thank you. |
Library Version(s)
2.0.0-alpha2 ~ 2.0.0-alpha17
Problem
The server use Clojure 1.9 and spec, set JVM -Xmx=384m. Post data to server repeatedly, and then server terminate by "OutOfMemoryError" later.
And version 1.1.11 and 2.0.0-alpha1 have not this error.
The text was updated successfully, but these errors were encountered: