OK, I am realizing that JVM parameters, set in run.conf.bat, get ignored when using service.bat. Default PermGen setting may be too low and may be causing this issue. I'll investigate this further.
The problem is that service.bat sets JAVA_OPTS (line 26) and in run.conf.bat, all of the JAVA_OPTS settings are ignbored if it is already set (see line 15). Possible solutions are:
a) Comment out line 26 in service.bat and add the -Xrs to one of the JAVA_OPTS lines in run.conf.bat
b) Comment out line 15 in conf.run.bat; but then you would still have to add -Xrs to one of the JAVA_OPTS lines in run.conf.bat or you would have to change the first JAVA_OPTS setting in conf.run.bat (line 44) to append, rather then reset, JAVA_OPTS (text in red is new text)L
set "JAVA_OPTS=%JAVA_OPTS% -XX:+PrintHeapAtGC -Xloggc:gc3.log -Xms128M -Xmx512M -XX:MaxPermSize=256M"