To optimize Unwired Server performance, configure the thread stack size, maximum and minimum heap sizes, and user options such as enabling trace upload to SAP® Solution Manager or setting the cache disk size.
For example, you can enable JVM garbage collection logging by setting -XX:+PrintGCDetails. Or you can set the permanent space which is allocated outside of the Java heap with the DJC_JVM_MAXPERM environment variable (in SUP_HOME\Servers\UnwiredServer\bin\usersetenv.bat); the maximum perm size must be followed by K, M, or G, for example, -XX:MaxPermSize=512M. Note that DJC_JVM_MAXPERM is not visible to Sybase Control Center.
If you are in an SAP environment and want to define the Solution Manager URL into which trace files can be uploaded, use this user option: -Dcom.sap.solutionmanager.url=<SolutionManager_URL>
To update the disk cache size, use the -ds user option. The disk cache size must be followed by k, m, or g, for example, -ds 10G.