I would like to clarify how to adjust the memory settings for:
Servoy client
Servoy developer
Servoy Server
i am running server as a windows service.
My servoy.maxClientHeap: 256 in the server admin pages. Is this for the server or each client? Do the clients need to unistalled/reinstalled for these settings to take affect?
I have read also in the forum there is a developer Xmx memory setting, but i cannot see this anywhere in the developer batch file.
This is for your server or developer, whichever file you have the settings in.
Your client memory can be set through the admin pages.
Depending on the version of servoy you use the settings are applied in the .bat file.
The default heap size for the server/developer should be enough without any additional plug-ins and beans.
The more of these components you add the more likely it is that you need to start playing with the settings (our installer suggests new settings after installing new plug-ins).
The memory settings for your client depend on the # of forms you have or want to have ‘at hand’.
but this command does not exist anywhere in either of my .bat files
I don’t understand, you don’t have a line that starts like the sample and ends like the sample (never mind what you see in the middle).
If so it would be nice that you copy/paste what you have in your batch file because that means that you can not start developer from the batch file (imho).
@echo off
java -classpath servoy_developer.jar Servoy
rem c:\jdk1.3.1\bin\java -classpath .;lib\activation.jar;lib\antlr.jar;lib\bootstrap.jar;lib\j2db.jar;lib\j2dbdev.jar;lib\compat141.jar;lib\jh.jar;lib\jndi.jar;lib\js.jar;lib\jta.jar;lib\kunststoff.jar;lib\mail.jar;lib\jug.jar;lib\jdbc2_0-stdext.jar;lib\naming-common.jar;lib\naming-resources.jar;lib\servlet.jar;lib\xerces.jar;server\lib\bootstrap.jar com.servoy.j2db.startup.Bootstrap
rem
rem loaded by tomcat it self: server\lib\catalina.jar;server\lib\jakarta-regexp-1.2.jar;server\lib\jasper-compiler.jar;server\lib\jasper-runtime.jar;server\lib\naming-factory.jar;server\lib\servlets-common.jar;server\lib\servlets-default.jar;server\lib\servlets-invoker.jar;server\lib\servlets-manager.jar;server\lib\servlets-snoop.jar;server\lib\servlets-webdav.jar;server\lib\tomcat-ajp.jar;server\lib\tomcat-util.jar;server\lib\warp.jar
rem
rem For enable logging change ‘javaw’ into ‘java -DSTACKTRACE=true’
Server .bat file:
@echo off
:restart
rem To enable logging change ‘java’ into ‘java -DSTACKTRACE=true’
java -Djava.awt.headless=true -classpath .;lib\commons-collections.jar;lib\commons-dbcp.jar;lib\commons-pool.jar;lib\activation.jar;lib\antlr.jar;lib\j2db.jar;lib\j2dbdev.jar;lib\compat141.jar;lib\jndi.jar;lib\js.jar;lib\jta.jar;lib\mail.jar;lib\jug.jar;lib\jdbc2_0-stdext.jar;lib\naming-common.jar;lib\naming-resources.jar;lib\servlet.jar;lib\xerces.jar;lib\server-bootstrap.jar;lib\commons-fileupload-1.0.jar;lib\commons-logging.jar;lib\hibernate2.jar com.servoy.j2db.server.ApplicationServer %1 %2 %3 %4 %5 %6 %7 %8 %9
rem loaded by tomcat it self: server\lib\catalina.jar;server\lib\jakarta-regexp-1.2.jar;server\lib\jasper-compiler.jar;server\lib\jasper-runtime.jar;server\lib\naming-factory.jar;server\lib\servlets-common.jar;server\lib\servlets-default.jar;server\lib\servlets-invoker.jar;server\lib\servlets-manager.jar;server\lib\servlets-snoop.jar;server\lib\servlets-webdav.jar;server\lib\tomcat-ajp.jar;server\lib\tomcat-util.jar;server\lib\warp.jar
rem restart if the server exited with the restart exit code 99
if errorlevel 99 goto restart
Not sure how these lines were missing but checked my notebook directory of servoy and found the lines in the batch file as they should be. Copied these into my workstation servoy directory, all running fine.