Presto Administration : Integrated MashZone Server Configuration and Administration : Tune Memory/Caching for the Integrated MashZone Server : Tune MashZone Memory and Cache Configuration Manually
Tune MashZone Memory and Cache Configuration Manually
To manually update memory and cache configuration
1. Update Java Heap Settings
2. Update Cache Memory Settings
3. Update MashZone ThreadSize Properties.
4. Then restart the Presto Server to apply this change. See Start and Stop the Presto Server for instructions.
Update Java Heap Settings
To update the size of the Java Heap
1. In a text editor of your choice, open the setenv.bat or setenv.sh file, based on your operating system, in the presto-install/apache-tomee-jaxrs/bin/ folder.
2. At a minimum, update the -Xmx value to tune the maximum size of heap. See the preset suggestions in Automatically Tune MashZone Memory and Cache Configuration as starting points and Memory Configuration for the Presto Server for suggestions for Presto.
3. Save your changes.
Update Cache Memory Settings
1. In the text editor of your choice, open the ehcache.xml file in the web-apps-home/mashzone/WEB-INF/classes folder.
2. Update the maxBytesLocalHeap value on the <cache> elements with the following names:
*RESULT_FEED_BASE
*RESULT_FEED_TOP
*RESULT_FEED_DEBUG
See the preset suggestions in Automatically Tune MashZone Memory and Cache Configuration as starting points.
3. Save your changes
Update MashZone ThreadSize Properties
1. In the text editor of your choice, open the mashzone.properties file in the web-apps-home/mashzone/WEB-INF folder.
2. Update the following properties:
*calculation.threadpool.coresize
*calculation.threadpool.maxsize
See the preset suggestions in Automatically Tune MashZone Memory and Cache Configuration as starting points.
3. Save your changes
Copyright © 2013-2015 Software AG, Darmstadt, Germany.

Product LogoContact Support   |   Community   |   Feedback