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

node.js - How to mock a third-party api calls in the backend -

node.js - Why do I get "SOCKS connection failed. Connection not allowed by ruleset" for some .onion sites? -

matlab - 0-by-1 sym - What do I need to change in order to get proper symbolic results? -