Presto requires a minimum of 16 GB of memory on the coordinator and worker nodes.
To view the amount of memory configured for the coordinator node and each worker node in a deployed configuration, log in to the prestoadmin node and use the following commands.
- cat /home/prestoadmin/.prestoadmin/coordinator/jvm.config
- cat /home/prestoadmin/.prestoadmin/workers/jvm.config
When you use the commands, something similar to the following displays. In the following example, memory for the default jvm.config file is shown in bold.
-server
-Xmx16G
-XX:-UseBiasedLocking
-XX:+UseG1GC-XX:+ExplicitGCInvokesConcurrent
-XX:+HeapDumpOnOutOfMemoryError
-XX:+UseGCOverheadLimit
-XX:OnOutOfMemoryError=kill -9 %p
-XX:ReservedCodeCacheSize=512M
For information about tuning Presto after installation, see: http://teradata.github.io/presto/docs/current/index.html.