How do I find out whether the options have been added or not:
asadmin list-jvm-options
You have to delete the JVM option with asadmin delete-jvm-options
:
asadmin delete-jvm-options '-XX\:MaxPermSize=192m'
Then add the option again with the new value:
asadmin create-jvm-options '-XX\:MaxPermSize=1024m'
A restart of the server is always required after changing JVM options.