Any operation in the Flow server (UI or command line), seems to throw a LazyInitializationException like this
Files to consider
1. Check the available memory in the Host.
2. Check the following lines in wrapper.conf that indicate memory allocation:
3. Check if the allocated amount of memory matches the values reported in commander.log
--> commander.log contains snippets of memory usage every 15 minutes in this format
--> Make sure G1 Old Gen Max setting matches the % value set in wrapper.conf
If you notice that Max value does not increase about 2.0 GB, then its because the JVM being used is 32-bit.
Run "uname -a" to get details about the OS itself. If the JVM is 32-bit, the swap space cannot be configured for more than 2GB.
A PAE kernel allows Linux to see all the RAM, but it does not change the fact that each individual process is a 32-bit process, and thus can only run the 32-bit JVM. A 32-bit JVM is constrained to a maximum of 2GB of heap space; there is no way to get around that so the only solution if you need more heap for a single process is to upgrade to a full 64-bit OS that can support the 64-bit JVM.