Out of Memory

The setting of the main memory to be used was "let programm determine maximum memory.


Although I have 32 GB, the error message listed in the appendix was displayed.


SQ itself indicated to me that it only wanted to use a maximum of 8 GB.....




Why? 



Attachments
Out of Memory.png
(50.93 KiB)
  • Votes +2
  • Project StrategyQuant X
  • Type Bug
  • Status Fixed
  • Priority Normal

History

r
#1

Marcel

07.01.2019 09:46

Task created

r
#2

Marcel

07.01.2019 09:47
Beta Version Build 117
TB
#3

Tomas Brynda

07.01.2019 11:07

Status changed from New to Fixed

Attachment screen.png added

Hi Marcel,

please try to use the option to set maximum memory to custom size. If you select "Let program determine maximum memory", then Java decides how much memory will be used. In your case you can use higher amount.


Furthermore you can try to disable memory protection as shown in a screenshot attached. 





g
#4

geektrader

11.01.2019 08:25
I also have to report that I am again getting the same message in 117,although I´ve clearly disabled it in the settings as shown in your screenshot:


"Out of memory error

StrategyQuant detected too big memory consumption (over 85% of memory was used)

and automatically stopped the project.

It is done to prevent program freezing, it should always operate with less than 85% of memory used. The solution is to increase the maximum available memory in Performance settings or use configuration that uses less memory."


Additionally, I think there is a serious memory leak since build 116 (as reported by many other users in other bug reports), I never had an issue in 115 with genetic evolution, but since 116 and now 117, genetic evolution fills up the allocated 28 GB in no time with just a few generations, while the database holds just 26 strategies at that moment. That is with 32 years of history data H1, and not even using intrabar mode but just selected timeframe and no retests or additional markets or whatever. Something is wrong here...



g
#5

geektrader

11.01.2019 08:25
Voted for this task.
g
#6

geektrader

11.01.2019 08:27
Just that you know, I´ve just run build 115 with the exact same settings (and same java version + settings) and it barely uses more than 10GB of the allocated 28GB for the exact same task, even deep into many generations. Because of this, the genetic evolution up from build 116 is pretty much useless for me right now - and it seems others are affected by this too.
Rr
#7

Partizanas

11.01.2019 15:53
geektrader,why do you use such a long history of strategy development? (32 years H1)

Isn't it enough to have a 5-10 years history?

MG
#8

maegop

12.01.2019 04:15
Voted for this task.
MG
#9

maegop

12.01.2019 04:16

Attachment out of memory.png added

I also faced the same problem on build 117, two time in the same week. The same problem as the previous version
MG
#10

maegop

12.01.2019 04:16
I also faced the same problem on build 117, two time in the same week. The same problem as the previous version
h
#11

hankeys

12.01.2019 13:15
even if i have 128 GB of RAM, SQX will automatically choose only 20 GB of RAM, so i always set it by myself to 120 GB RAM....because some of my custom projects need 30 GB of RAM

Votes: +2

Drop files to upload

or

choose files

Max size: 5MB

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

...
Wait please