The first step is to download the agent JAR.
Next, when you will need to add the argument -javaagent:path/to/memory-estimator-agent.jar when invoking the JVM.
You can do this:
As a direct argument to Java, i.e. java -javaagent:memory-estimator-agent.jar …
Added to the :jvm-opts key in your Leiningen project’s project.clj
Added to the BOOT_JVM_OPTIONS in your boot.properties or in your environment for Boot projects
Include the library in your project dependencies.
Finally, you can invoke the estimate-size function in the outpace.memory-estimator namespace.
If you really need it:
Can you improve this documentation?Edit on GitHub
cljdoc builds & hosts documentation for Clojure/Script libraries
| Ctrl+k | Jump to recent docs |
| ← | Move to previous article |
| → | Move to next article |
| Ctrl+/ | Jump to the search field |