Calculate memory usage of Java objects

With Twitter’s ObjectSizeCalculator If you are looking for an easy way to estimate the object size than this could interest you. The memory size of your object depends on the architecture, the actual vm implementation and whether the VM is 32 or 64-bit. ObjectSizeCalculator supports only the Hotspot JVM. For more information see the javadoc ObjectSizeCalculator. […]


This tool is great! I came across SDKMAN in a Spring tutorial. It’s a tool like rvm which helps you to manage parallel version of a SDK for the JVM like: * Java * Gradle * Groovy * Kotlin * Maven * Scala * Spring Boot * Vert.x It’s what compelling, so I installed it […]

Embedded Jetty with Servlet and Annotations

How do I programmatically configure Jetty that I can use Servlet Annotations? If you doing just servlets with jetty, this article could be interesting for you. I show you how I did it. Here comes the configuration: And I defined the following dependencies in build.gradle. That’s all. Hope this helps! Here is the link to […]