multithreading - how to extend Java Virtual Memory in CentOS? -


as wrote on title, want extend virtual memory while performing java code. currently, i'm writing code word analyzer. in eclipse if there 1000 number of inputs gives 1000 fine outputs. when run server, gives 80% outputs , 20% null. after asked problem know , said because of small size of virtual memory in server.

i run java program .sh file , content of .sh file written below.

export java_home="usr/lib/jvm/java-1.6.0-openjdk.x86_64" path=$path:java_home/jre/bin export java_home  java -cp /home/account/count_con.jar countconversation.countcon_starter & 

and type "bash .sh file".

please give me kind advice how run java code virtual memory size in server(os:centos).

thank you

after java command set flag -xmxsizem

fyi

xms initial java heap size

xmx maximum java heap size

xss java thread stack size


Comments

Popular posts from this blog

How has firefox/gecko HTML+CSS rendering changed in version 38? -

javascript - Complex json ng-repeat -

jquery - Cloning of rows and columns from the old table into the new with colSpan and rowSpan -