title: Presto + query.max-memory-per-node configuration
body: <p>We not configured in our presto workers the parameter - <code>query.max-memory-per-node</code></p>
  
  <p>From the log seems that the value for <code>query.max-memory-per-node</code> is set automatically </p>
  
  <pre><code>grep -r "query.max-memory-per-node"  /presto/data/var/log/server.log
  2019-08-08T14:25:03.840Z    INFO    main    Bootstrap       query.max-memory-per-node                              4402341478.40B
  </code></pre>
  
  <p>My question </p>
  
  <p>Do we need to set the <code>query.max-memory-per-node</code> in <code>config.properties</code>  ?</p>
  
  <p>Or value for the <code>query.max-memory-per-node</code> , will set by the presto </p>
  
  <p>But as we can see from the logs , presto set only - <code>4402341478.40B</code> ( few GIGA bytes ) , so this is small size</p>
  
  <p>And when query is need more memory then query could crash</p>
  
  <p>Please your opinion , do we need to set the parameter  <code>query.max-memory-per-node</code>  – in <code>config.properties</code> </p>
  
  <p>In order to set higher values as <code>20-30 GIGA</code></p>
  
  <p>Reference - <a href="https://prestodb.github.io/presto-admin/docs/current/installation/presto-configuration.html" rel="nofollow noreferrer">https://prestodb.github.io/presto-admin/docs/current/installation/presto-configuration.html</a></p>