129 dev 6 Out of memory Error

I let SQX run for about 3 hours and got this Out of memory error. Somewhere is a data leak. 



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.

Attachments
Screen Shot 2020-07-11 at 31437 PM.png
(128.70 KiB)
  • Votes 0
  • Project StrategyQuant X
  • Type Bug
  • Status Fixed
  • Priority Normal

History

KL
#1

kainc301

11.07.2020 21:20

Task created

h
#2

hankeys

12.07.2020 07:45
16 GB cant be enough...and why you set from 32 only 16?

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

KL
#3

kainc301

12.07.2020 07:53
@Hankeys. My system has a dual socket CPU. Currently SQX can only use all the cores on one socket, not both. So I am using 2 instances of SQX to get around that. Its really annoying but I sent in the bug for this and Mark put it on the next build. Regardless. I have 32gb of memory so I split the ram between the two instances. I didn't know 16GB RAM is too low for SQX. I've only had the out of memory error twice. After restarting it has worked for hours and hours with no problems.
KL
#4

kainc301

13.07.2020 01:13
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.
TT
#5

Tamas

13.07.2020 14:10

Status changed from New to Fixed

E
#6

Emmanuel

14.07.2020 20:59

kainc 301 ,

SQX does not work on 2 CPU ? may I ask which CPU you are using ? Does your CPU have more than 64 cores ?


Votes: 0

Drop files to upload

or

choose files

Max size: 5MB

Not allowed: exe, msi, application, reg, php, js, htaccess, htpasswd, gitignore

...
Wait please