java - Set heap size for -jar command -


i want set heap size under linux os in order use on java -jar command. have tried add _java_options property under .bash_profile, property ignored. know can run jar java $_java_options -jar command or create alias alias java='java -xms256m -xmx512m' have found can export _java_options: export _java_options="-xms256m -xmx512m" property not kept between sessions. idea how can set permanent heap size java -jar command?


Comments

Popular posts from this blog

c++ - Delete matches in OpenCV (Keypoints and descriptors) -

java - Could not locate OpenAL library -

sorting - opencl Bitonic sort with 64 bits keys -