We are setting up an Android client that communicates with an OpenMRS server using the RESTful API with basic authorization. We have a php middle layer that parses the REST calls from the client to a format that’s compatible with OpenMRS’s rest services module. Every time a REST call is made and a new session is automatically created. When the sessions exceed 10, we get an Out of Memory Error.
We also haven’t been able to get the jsessionid token to work using php.
We’ve already tried all the suggestions in: https://wiki.openmrs.org/display/docs/Performance+Tuning
Platform version: 1.11.5
How do we fix this? Thanks in advance.