clj-memory-meter
clj-memory-meter copied to clipboard
Measure object memory consumption in Clojure
It looks like the `measure` function doesn't work under openjdk 16: ``` $ java -version openjdk version "16" 2021-03-16 OpenJDK Runtime Environment (build 16+36-Ubuntu-320.10) OpenJDK 64-Bit Server VM (build 16+36-Ubuntu-320.10,...
Possibly also related to Java 8 Lambda classes? **Steps to reproduce:** ``` $ java -version openjdk version "17.0.5" 2022-10-18 OpenJDK Runtime Environment Temurin-17.0.5+8 (build 17.0.5+8) OpenJDK 64-Bit Server VM Temurin-17.0.5+8...
When invoking `mm/measure` on instances of `clojure.lang.LongRange`, I expect the memory usage to increase with increasing lengths. Instead, the return values are identical, regardless of the ending index. ``` (mm/measure...