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 is a website building & hosting documentation for Clojure/Script libraries
× close