Hello,
I’m getting this error after one hour or so time passed in the system. When there are more than 50 consumers and about 20 producers in the system server.js throws this exception and terminated.
From the beginning, I was getting heap out of memory error and I fixed by setting --max-old-space-size. After that I got another error which is "S cavenger: semi space copy Allocation Failed, Heap Out of memory error" . Then I set --max-semi-space-size. Both error fixed but I got another error of " str::bad_alloc ". I researched more than 3-4 days and i could not manage to solve this.
If you can help me to solve this problem, I will be very happy.
Thanks in advance