We are running 3 instances of ODK and 2 more Java applications on a single server. If we try to load all these applications simultaneously, some will not load and some will be slow. When we check tomcat's log file, Catalina. out, it says, java. lang.OutOfMemoryError: Java heap space. The cause of this is explained below,