increase jvm memory

I want to increase the memory used by jvm .I google and find out java xmx but i didn't find anything about how i know if this command execute successfully .I want toknow the current memory limit used by jvm .
[216 byte] By [d17maya] at [2007-11-27 8:03:13]
# 1
java -Xmx256M -cp <your classpath here> <your class here>will give java 256 meg of heapmatfud
matfuda at 2007-7-12 19:45:20 > top of Java-index,Java Essentials,Java Programming...
# 2
There are actually 3 different applications running.I want to increase the memory used by jvm for all the application .All other applications are jar file.And i also want to know what is the current memory limit .Thanks
d17maya at 2007-7-12 19:45:20 > top of Java-index,Java Essentials,Java Programming...
# 3
the default maximum heap size in 1.4 is 64 meg (per instance of java)If you want to permenently change th heap size then set the system property JAVA_OPTS=-Xmx256then all instances of java will use a maximum of 256 meg heapmatfud
matfuda at 2007-7-12 19:45:20 > top of Java-index,Java Essentials,Java Programming...