Possible Duplicate:
Read Java JVM startup parameters (eg -Xmx)
We have a desktop application where some old installations does not have the appropriate memory settings.
They experience out of perm gen space at "random" times and i need to alert the users which are running too low MaxPermSize but i can't figure out how to access this setting from the jvm.