Stack/Heap Overflow

So, we had a clinic recently and our EMR system crashed. Specifically, I got a stack/heap overflow error. We had 25 users connecting to our server via a N1900 router. After an hour and a half into clinic, we added an extra device and started working from there. Then the system started slowing for everyone. I was wondering if there was a fix for this or if there is a hard limit to the number of people who can simultaneously perform actions on OpenMRS.

@ulqschif did you try this?

I have not tried this approach. Thank you for the link