RESOLVED:Servoy container restart under Apache out of memory
Posted: Mon Oct 12, 2020 9:01 pm
Hello,
Apache cannot be restarted without an outofmemory error, when .WAR is loaded. Restarting the Apache service without stopping Servoy hangs the restart with an OutOfMemoryError: Java heap space, and a LifecycleExpception: A child container failed during stop.
Does Servoy need to be stopped and started from within Apache Manager or is this a memory issue?
Stopping Servoy and restarting Apache does work, but the restart of Apache should be sufficient.
If memory is the issue, how are memory settings adjusted within Servoy? Attempted to use setenv.bat for main Apache startup; it doesn't seem to take. The error indicates the container doesn't have enough memory. There is no restart under servoy-admin, only 'Enter Maintenance Mode.' Likely because it is run as a container under Apache, but wanted to see how the actual production use is practiced.
thanks,
--Joe.
Apache cannot be restarted without an outofmemory error, when .WAR is loaded. Restarting the Apache service without stopping Servoy hangs the restart with an OutOfMemoryError: Java heap space, and a LifecycleExpception: A child container failed during stop.
Does Servoy need to be stopped and started from within Apache Manager or is this a memory issue?
Stopping Servoy and restarting Apache does work, but the restart of Apache should be sufficient.
If memory is the issue, how are memory settings adjusted within Servoy? Attempted to use setenv.bat for main Apache startup; it doesn't seem to take. The error indicates the container doesn't have enough memory. There is no restart under servoy-admin, only 'Enter Maintenance Mode.' Likely because it is run as a container under Apache, but wanted to see how the actual production use is practiced.
thanks,
--Joe.