How to limit the Memory used by ElasticSearch

Can I see what your "ps -ef | grep java" looks like?