Found: https://stackoverflow.com/a/258150
Measurement methods
You can use Instrumentation.getObjectSize()
to obtain an estimate of the storage consumed by an object.
eclipse maven "JUnit" "javaagent"
refer to: https://www.blogger.com/blog/post/edit/10648886/7778852398276118981
No comments:
Post a Comment