How to change knox heap size

  • 1

How to change knox heap size

Category : Bigdata

Some time due to heavy load you may a requirement to increase your knox jvm size to deal more reques and to give response in a time.

So in that case you can change your knox jvm size in following ways.

  1. go to /usr/hdp/current/knox-server/bin/gateway.sh and seach for APP_MEM_OPTS string.
  2. Once you get it then you can change it accordingly:

             APP_MEM_OPTS=“-Xms2g -Xmx2g”

You need to restart your knox gateway services to take effect.


Leave a Reply to ChandraPal Cancel reply