EM12c java.lang.OutOfMemoryError: Java heap space

-rw-r—– 1 oracle oinstall 6571 Oct 22 07:32 emd.properties located in path like this: /u01/app/oracle/product/ increase the Xmx memory limit. Before this operation shutdown agent (emctl stop agent). And start him again after change. # # These are the optional Java flags for the agent # agentJavaDefines=-Xmx140M -XX:MaxPermSize=96M and increase Xmx parameter, like: agentJavaDefines=-Xmx256M -XX:MaxPermSize=96M