Join GitHub today
GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.
Sign upGitHub is where the world builds software
Millions of developers and companies build, ship, and maintain their software on GitHub — the largest and most advanced development platform in the world.
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. |

Formed in 2009, the Archive Team (not to be confused with the archive.org Archive-It Team) is a rogue archivist collective dedicated to saving copies of rapidly dying or deleted websites for the sake of history and digital heritage. The group is 100% composed of volunteers and interested parties, and has expanded into a large amount of related projects for saving online and digital history.

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.