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

OutOfMemoryError Java heap space exhausted with wrong schema #1061

Closed
irigarae opened this issue May 22, 2024 · 0 comments · Fixed by #1069
Closed

OutOfMemoryError Java heap space exhausted with wrong schema #1061

irigarae opened this issue May 22, 2024 · 0 comments · Fixed by #1069

Comments

@irigarae
Copy link

I stumbled upon this:

$ clj
Clojure 1.11.1
user=> (require '[malli.core :as m])
nil
user=> (m/schema [(m/schema :any)])
Execution error (OutOfMemoryError) at malli.impl.util/-vmap (util.cljc:31).
Java heap space

Not sure it's a big issue, but maybe it should throw earlier an invalid schema.

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

Successfully merging a pull request may close this issue.

1 participant