In StrategyQuantX version 130.467 I went into settings and changed the memory allocation to 25GB and restarted StrategyQuantX because I was getting a message that I had reached 85% of memory capacity at 7.8GB. I am still getting the same message even though the configuration settings are set to 25GB. The Heap Memory chart has not changed from 7.8GB to 25GB as it should have which is were I had it set on my previous version.
Attachments
Screenshot 2020-12-25 151819.png
(8.57 KiB)
Screenshot 2020-12-25 152228.png
(53.64 KiB)
  • Votes +1
  • Project StrategyQuant X
  • Type Bug
  • Status Fixed
  • Priority Normal

History

WH
#1

WpH67

25.12.2020 06:25

Task created

h
#2

hankeys

25.12.2020 09:45
to change memory or CPU performace you need to restart SQX to make the changes
r
#3

roman

25.12.2020 21:39

Attachment 01_set.jpg added

Attachment 02_restart.jpg added

Attachment 03_no_change.jpg added

02_restart.jpg
(351.04 KiB)
03_no_change.jpg
(297.47 KiB)
01_set.jpg
(335.69 KiB)
I have 120gb set and it still gives me only 53.8. I restart SQX.
r
#4

roman

25.12.2020 21:45
Voted for this task.
WH
#5

WpH67

26.12.2020 11:17
I have restarted SQX after changing the configuration settings. I have done this several times and it has made no difference. I still have a running out of memory message at < 7.8GB when I have it set to 25GB.
r
#6

roman

26.12.2020 18:05
It doesn't work for me either.
TT
#7

Tamas

06.01.2021 09:14

Status changed from New to Waiting for information

Memory option is saved to file StrategyQuantX_nocheck.config in SQX installation directory.


Please check if there is a correct value set. Secondly, are you sure that you have more then 8 GB RAM in your PC? 


Can you create some printscreens where I can see info about available RAM in your PC + content of StrategyQuantX_nocheck.config file.

WH
#8

WpH67

06.01.2021 09:29

Attachment Screenshot 2021-01-06 182442.png added

Attachment StrategyQuantX_nocheck.config added

Attachment StrategyQuantX_nocheckl4j.ini added

StrategyQuantX_nocheck.config
(41 B)
StrategyQuantX_nocheckl4j.ini
(85 B)
Screenshot 2021-01-06 182442.png
(136.94 KiB)
TT
#9

Tamas

06.01.2021 09:47
Can you please run SQX from command line with debug parameter

>>>

StrategyQuantX_nocheck.exe --launcher=debug


and then attach the log file

\user\log\launcher_2021_01_06.log


Thanks!

WH
#10

WpH67

06.01.2021 10:17
Tamas. I found and opened SQLI. I copied StrategyQuantX_nocheck.exe --launcher=debug

into it and hit enter and sqli says it does not recognize the command. How do I enter it so that it will work?

TT
#11

Tamas

06.01.2021 10:21
You need to open Command Prompt in Windows


https://www.digitalcitizen.life/open-cmd/


and type 

StrategyQuantX_nocheck.exe --launcher=debug



WH
#12

WpH67

06.01.2021 10:32
Sorry Tamas. I already tried the Windows cmd and had the same response. I assume it is my lack of coding skills. Can you give me step-by-step instructions to perform the task you requested?
WH
#13

WpH67

06.01.2021 10:42

Attachment launcher_2021_01_06.log added

launcher_2021_01_06.log
(9.63 KiB)
Hi Tamas. I think I worked out how to do it.
TT
#14

Tamas

06.01.2021 10:43

Attachment image-0.png added

Attachment image-1.png added

image-0.png
(334.33 KiB)
image-1.png
(31.84 KiB)
The easiest way -> go to SQX installation folder and  type "cmd" on the address bar - after enter it opens CMD

Then copy there StrategyQuantX_nocheck.exe --launcher=debug


That is all.


or try google

open command prompt current folder

TT
#15

Tamas

06.01.2021 10:51

Attachment image-0.png added

image-0.png
(426.73 KiB)
Thanks!


Check the log file. It reads jvm options from wrong config StrategyQuantX_nocheckl4j.ini 

There should be only one config file StrategyQuantX_nocheck.config


Please delete that file and run SQX. Hopefully Heap Memory Chart will display correct size after that change.

WH
#16

WpH67

06.01.2021 10:58
Thanks Tamas. It now shows the correct amount of memory. By the way, after I ran the cmd and got the log file I restarted StrategyQuantX and found it had deleted all of my saved strategies.
r
#17

roman

07.01.2021 13:55
After removing StrategyQuantX_nocheckl4j.ini, the memory setting works.
TT
#18

Tamas

03.02.2021 08:10

Status changed from Waiting for information to Fixed


Votes: +1

Drop files to upload

or

choose files

Max size: 5MB

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

...
Wait please