Is use with a parameter: reload required tends to increase memory in Clojure?

I have an application that, in order to reload plugins, requires them with the option: reload, when they need to be reloaded. I noticed that this creates memory of about 2-3 megabytes at a time when I do this. I am curious that this could happen. Is data from previous reboots stored in memory? Is there a way to completely reload the namespace?

EDIT: It is also important to note that each of these plugins that reload creates new defmethods for the multimethod in a different namespace (which never reloads). Perhaps the methods are stored in memory upon reboot?

+5
source share
2

, . , .

: , .

+1

Clojure JVM. clojure codebase , , , vars , , JVM .

JVM, , GC (System/gc), .

, , JVM, GC (.. ).

, , mbs .

+1

All Articles