Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Size Of in Java [closed]

Tags:

java

sizeof

I have downloaded java.sizeOf, but I am getting this exception. I am running from eclipse. What should I do?

Exception in thread "main" java.lang.IllegalStateException: Instrumentation is null
like image 800
qwert asdfg Avatar asked Oct 19 '25 13:10

qwert asdfg


1 Answers

In eclipse, click on 'run as' -> Run Configurations.Go to second tab 'Arguments' and under 'VM arguments' add -javaagent:< path to>/SizeOf.jar

like image 186
freepublicview Avatar answered Oct 21 '25 04:10

freepublicview



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!