A very simple implementation of C++ keyword sizeof for Java 5+. Developers can use it to know the real size of objects in memory.
Categories
ProfilingLicense
GNU General Public License version 2.0 (GPLv2)Follow java.sizeOf
Other Useful Business Software
Secure User Management, Made Simple | Frontegg
Frontegg powers modern businesses with a user management platform that’s fast to deploy and built to scale. Embed SSO, multi-tenancy, and a customer-facing admin portal using robust SDKs and APIs – no complex setup required. Designed for the Product-Led Growth era, it simplifies setup, secures your users, and frees your team to innovate. From startups to enterprises, Frontegg delivers enterprise-grade tools at zero cost to start. Kick off today.
Rate This Project
Login To Rate This Project
User Reviews
-
Sizeof is perfect! Thanks.
-
Thank you for the useful tools. It's good to use in web application(JBoss). But I don't know how to use in a java application in Eclipse. It add th argument: -javaagent:<path to>/SizeOf.jar to Run Configuration. But a error shows "Unrecognized option: -javaagent". The famouse Exception(Instrumentation is null) will happen if I don't add the argumnet.I searched this error on google and this many forums, but I failed. Anybody help me? my email is andyliao1019@gmail.com Thank you again!