Child pages
  • Memory Management
Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 2 Next »

Memory Management basics for Java

Java memory consumption is divided in several different area's, called spaces. The most important ones are the Java Heap Space and the Java Perm Space, but there are others.

Each area is by default configured with an initial size and a maximum size, but these sizes can be overruled using arguments when launching the Java process. The defaults values differ per JVM implementation and can depend on the hardware on which the JVM is started. 

The JVM will always respect the maximum size set of a specific space. In the case of the Java process hits the maximum size for a specific space, a relevant exception will be thrown, for example an OutOfMemory or Stack Overflow exception. Thus it's vital to dimension the maximum size of the relevant spaces according to the requirements of the process.  

Java Heap Space

lkdflk

Java Perm Space

kl

Initial Java Heap Size
Maximum Java Heap Size
Maximum Java Perm Size

Servoy Application Server

Smart Client

Initial Client Heap

Max. Client Heap

Virtual Machine Arguments

  • No labels