This post looks at the rare 'java.lang.OutOfMemoryError: Requested array size exceeds VM limit' error and its causes. It explains JVM memory areas, possible solutions, and ways to diagnose the issue. The post includes a sample program and troubleshooting tips to help you fix this error. Share your experiences in the comments to help everyone learn more.
Java Collection Overhead
The Java Virtual Machine enables Java applications to be platform-independent while optimizing performance. One crucial component to understand, when considering performance, especially memory utilization, is how the Java Collections Framework, specifically the ArrayList, handles size and capacity. In this article, we will concentrate on the overhead caused by lists that contain two or three elements.... Continue Reading →
