Powering the Web Apps feature there is a java service called “formplayer” that runs on the server. If that service is sharing a machine with other application and database services, then there’s no one rule for how to optimize formplayer performance—there are many possible causes of slowness, including general high resource (e.g. CPU/RAM) utilization on the machine, overconsumption of resources by a particular process, or under-allocation of resources (probably RAM) to formplayer. The problem can also be unrelated to the formplayer service/machine itself, for example if a database or other service it depends on is slow.
If you have reason to believe that increasing the memory allocated to formplayer would improve the situation, you can do so by editing the
formplayer_memory variable in
"3584m" for 3584 MB) and running
commcare-cloud <env> update-config followed by
commcare-cloud <env> service formplayer restart. Restarting formplayer will cause a brief interruption to formplayer, approximately 15 seconds.