Q: When accessing REST services or WFS services, why does the error code 500 appear and the message "Warn: Java heap space" show in the log?
A: SuperMap iServer is deployed in Tomcat, and its initial heap size of Java VM is 256M, which is not enough for some services. To solve the problem, modify the Java VM memory size: open %SuperMap iServer Java_HOME%/bin/catalina.bat, find %_EXECJAVA%, append "-Xms1024m -Xmx1024m"(Set VM initial memory to 1024M), then restart SuperMap iServer.