Configuration When Business Analytics Uses Only Heap Memory
The initial default Java heap memory settings for Business Analytics are appropriate for small applications or development environments 1G as the maximum heap size. The Event Service that is deployed with Business Analytics also uses this heap space.
Note: | If you are using MashZone NextGen Analytics with large datasets and limited memory (less than the recommended 4G minimum), configuring BigMemory to use off-heap memory is not recommended as it can adversely affect performance. |
Some portion of available memory must be reserved for the operating system and any other applications on this host, as shown in the following figure:
How much memory to allocate to Business Analytics depends on available memory, requirement for the Event Service and what other applications may run on this computer.
To update memory configuration
1. In a text editor of your choice, open the application server configuration file appropriate for your operating system:
MashZoneNG-install/apache-tomee-jaxrs/bin/setenv.bat, for Windows
MashZoneNG-install/apache-tomee-jaxrs/bin/setenv.sh, for Linux, OS/X or UNIX
2. Change any of these Java memory options:
-Xms | Default = 512M |
-Xmx | Default = 1G |
-XX:PermSize | Default = 128M |
-XX:MaxPermSize | Default = 256M |