metosin / metosin/compojure-api
2.0.0-alpha* version out of memory
Open
Nobody has claimed this yet.
bug
- Dominant language
- Clojure
- Stars
- 1.1k
- Forks
- 146
- PR merge metrics
- No merged PRs in 30d
Description
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.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
No files or tests are named. Start by reproducing repeated POST requests with the reported 384 MB heap on 2.0.0-alpha2 through alpha17, then compare with 1.1.11 and alpha1. Done means the version-specific memory regression is isolated and covered by a repeatable regression check.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- clojure
- Domain
- api, backend
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100