sizeofag is a Java Agent that allows you to determine the size of Java objects from within the JVM at runtime. This makes it very useful for developing Java frameworks that take memory constraints into account.
Java Memory Management: A comprehensive guide to garbage collection and JVM tuningJava Memory Management: A comprehensive guide to garbage collection and JVM tuning (2022)
by Putten, Maaike van, Kennedy, Sean
Java Performance Optimization: Fundamentals of Java Memory ManagementJava Performance Optimization: Fundamentals of Java Memory Management (2022)
by Delli, Nirmal
Java Application Performance and Memory Management: A practical guide to improving performance for JVM applicationsJava Application Performance and Memory Management: A practical guide to improving performance for JVM applications (2022)
by Greencroft, Matt
Java Application Performance and Memory Management: A practical guide to improving performance for JVM applicationsJava Application Performance and Memory Management: A practical guide to improving performance for JVM applications (2022)
by Greencroft, Matt
Java Memory Management: A comprehensive guide to garbage collection and JVM tuningJava Memory Management: A comprehensive guide to garbage collection and JVM tuning (2022)
by Maaike van Putten, Sean Kennedy
Memory Leaks in Java: Detection and Fixing: A Practical Guide to Identifying, Analyzing, and Resolving Memory Issues in Java ApplicationsMemory Leaks in Java: Detection and Fixing: A Practical Guide to Identifying, Analyzing, and Resolving Memory Issues in Java Applications (2025)
by Boscarelli, Dionys