Primavera Gateway objects (such as Flows, Synchronizations, etc.) are stored in the Java Virtual Machine (JVM) heap allocation of the Primavera Gateway application server, and the P6 EPPM objects (such as Projects, Activities, Assignments, etc.) are stored in the Java Virtual Machine (JVM) heap allocation of the P6 Web Services application server.
Most of these objects are short-lived and are periodically cleaned up by the JVM’s garbage collection mechanism. However, as the number of objects increases, performance and scalability is affected by the available heap space in the JVM. Increasing the heap size is an easy way to achieve desired performance and scalability.