Unable to create new native thread (java.lang.OutOfMemoryError)

Document created by anton_serbanescu Employee on Sep 25, 2014Last modified by chris_stevens on Apr 25, 2016
Version 5Show Document
  • View in full screen mode


Unable to create new native thread (java.lang.OutOfMemoryError)



What can be done to prevent the error ?

Check the <atom_home_installation>/<atom_name>/bin/atom.vmoptions for the following line:


If the host server that hosts the atom(s) is a 64bit architecture, the parameter can be increased to a minimum of 4 GB, or 4096m, so the line above will look as follows:


Save the atom.vmoptions file and restart the atom for the changes to take effect. You may also need to restart the actual server to resolve this error.