java - How to use the Xmx command? (JVM Heap memory) -


i'm new in oracle world , i'm working oracle identity analytics (oia). in test environment ok, in production environment i'm getting "java.lang.outofmemoryerror", when checked xmx , xms saw had xmx:512m , xms:512m, that's why i'm trying modify xmx value.

i want modify xmx , xms values wrote following line in putty:

$ java -xmx1024m

but putty shows me following:

usage: java [-options] class [args...] (to execute class) or
java [-options] -jar jarfile [args...] (to execute jar file)

where options include:...

seems i'm forgetting after "xmx1024m", what? well, know i'm forgetting jar file, class or app name have no idea how of things. tried putting "$adminserver" after "xmx1024m" didn't work.

my java version 1.6.0_45 oracle jrockit build r28 , operative systems linux server 6.5.

regards!

you have pass filepath execute. of course, can run

java -xmx1024m 

but java doesn't know file should executed


Comments