By default Applicare Derby database is configured to run on a laptop and for playing around with Applicare with 1 or 2 agents. If Derby database is used for POCs or any testing that requires more agents or transactions load then memory given to Derby should be increased.
Step 1: Stop the derby database.
Step 2: Go to the directory below.
Edit startNetworkServer.bat file, This file will have two parameters called -Xmx, change those two values.
Edit startNetworkServer.sh file, This file will have -Xmx parameter, change those values as well.