Liking cljdoc? Tell your friends :D

finite-cache.clj-memory-meter

Fork of https://github.com/clojure-goes-fast/clj-memory-meter
raw docstring

get-virtualmachine-classclj

(get-virtualmachine-class)
source

measureclj

(measure object & {:keys [debug shallow bytes meter]})

Measure the memory usage of the object. Return a human-readable string.

:debug - if true, print the object layout tree to stdout. Can also be set to a number to limit the nesting level being printed. :shallow - if true, count only the object header and its fields, don't follow object references :bytes - if true, return a number of bytes instead of a string :meter - custom org.github.jamm.MemoryMeter object

Measure the memory usage of the `object`. Return a human-readable string.

:debug   - if true, print the object layout tree to stdout. Can also be set to
           a number to limit the nesting level being printed.
:shallow - if true, count only the object header and its fields, don't follow
           object references
:bytes   - if true, return a number of bytes instead of a string
:meter   - custom org.github.jamm.MemoryMeter object
sourceraw docstring

cljdoc is a website building & hosting documentation for Clojure/Script libraries

× close