System has 32 GB Ram. First time getting the Out of memory error, I let SQX determine the memory needed and it gave me this error when determining it only needed 8GB. So after that, I increased the available RAM on this instance of SQX to 16GB, and the memory leak persists.
Currently using two instances of SQX, both with 16GB RAM.
I also turned on periodic garbage collection at 30 minutes each for both instance. Yet on one instance I am still getting and out of memory error and on the other, I am not.
Update: I think this was because I had strategies in the databank of the retester. Once I cleared out those databanks, the memory usage went down a lot and I haven't had a problem since.
and why to use 2 instances of SQX - you will get only more memory usage
i have 128 GB RAM and with some very huge projects i could run also out of memory