We experienced an issue in production where the server would stop responding with the following error message in the log.
'Error failed to create Cache thread, system resources have been exceeded. The working memorylimit is 2048MB.'
using JMeter and load testing I was able to recreate the issue in development and identify the working memory limit. From there I increased the memory limit to 4GB and the error appears to have went away.
However, I do want to be able to recreate it again and after down grading the memory limit and confirming it was adjusted I am unable to load the server to failure again. Even in our largest test case the performance degrades from 2sec responses to 58sec, but I cannot crash the server.
Has anyone experienced something similar, have any idea what we are doing wrong or how to identify and fix this issue with any confidence?
Thanks