Skip to content

Latest commit

 

History

History
11 lines (8 loc) · 305 Bytes

set-max-heap-size.md

File metadata and controls

11 lines (8 loc) · 305 Bytes

Set Max Heap Size

For lein-based projects, the maximum heap size can be set by including the -Xmx option in the jvm-opts portion of the project.clj file. For instance, to set the maximum JVM heap size to 2 gigabytes, include:

  :jvm-opts ["-Xmx2g"]

in your project.clj file.