|
Poor memory setup can lead to degrading application performance or even application failure. The memory Setup for Fedelta is consistent for the Backoffice and Point of Sale. The server requires unique setup.
Point of Sale
- Edit C:\Program Files\Fedelta\FedeltaPOS\bin\FedeltaPOS.lax
- Find the line:
lax.nl.java.option.additional=-Djava.security.policy="..\\config\\jsk-all.policy" -Djava.util.logging.config.file="..\\config/logging.properties" -Djava.library.path=..\\drivers\\win32;C:\\WINDOWS\\system32 -Xmx128M -Xms64M
- Replace the -Xmx value with the upper memory limit
Backoffice
- Edit C:\Program Files\Fedelta\FedeltaBackoffice\bin\FedeltaBackoffice.lax
- Find the line:
lax.nl.java.option.additional=-Djava.security.policy=..\\config\\jsk-all.policy -Djava.util.logging.config.file=..\\config\\logging.properties
- Add a -Xmx value with the upper memory limit to the end e.g. -Xmx192M if you want the upper limit to be 192 MB.
Server
- Edit C:\Program Files\Fedelta\FedeltaServer\config\wrapper.config
- Find the lines:
# Maximum Java Heap Size (in MB)
wrapper.java.maxmemory=192
- Edit the maxmemory number.
- Stop the Fedelta Service
- Uninstall the fedelta server (C:\Program Files\Fedelta\FedeltaServer\bin\UninstallFedeltaService.bat)
- Install the fedelta server (C:\Program Files\Fedelta\FedeltaServer\bin\InstallFedeltaService.bat)
- Start the Fedelta Service
|