I have below line -
lax.nl.java.option.additional=-Xms1000m -Xmx2048m -Xss2m -XX:+UnlockExperimentalVMOptions -XX:+UseG1GC -XX:MaxPermSize=128m -Dsun.java2d.noddraw=true -Djava.library.path=native -Djava.security.auth.login.config==login_configuration.config
And i want to extract the Xmx value i.e. 2048 in this case (It can also be 512 some times). Not sure how i should do this using java substring or any other way , Please help! . Thanks