07.02.2022 13:41 131.569.745.797 log_2022_02_07.log 1 File(s) 131.569.745.797 bytes 0 Dir(s) 0 bytes free
So that even my disk even went full while importing.
There is more waste of space in the \StrategyQuantX\internal\testiles directory all the time, as SQX is not deleting temporary files there, even after closing + restarting the application:
Directory of C:\PortablePrograms\StrategyQuantX\internal\testfiles 06.02.2022 02:53 <DIR> . 06.02.2022 02:53 <DIR> .. 06.02.2022 03:30 <DIR> 1 06.02.2022 03:29 <DIR> 2 04.02.2022 04:26 <DIR> 6 06.02.2022 02:53 <DIR> 9 0 File(s) 0 bytes Directory of C:\PortablePrograms\StrategyQuantX\internal\testfiles\1 06.02.2022 03:30 <DIR> . 06.02.2022 03:30 <DIR> .. 03.02.2022 08:54 <DIR> 0 06.02.2022 03:30 <DIR> 2 06.02.2022 03:30 <DIR> 9 0 File(s) 0 bytes Directory of C:\PortablePrograms\StrategyQuantX\internal\testfiles\1\0 03.02.2022 08:54 <DIR> . 03.02.2022 08:54 <DIR> .. 03.02.2022 08:55 1.588.665.460 c-1070338070 1 File(s) 1.588.665.460 bytes Directory of C:\PortablePrograms\StrategyQuantX\internal\testfiles\1\2 06.02.2022 03:30 <DIR> . 06.02.2022 03:30 <DIR> .. 06.02.2022 03:30 206.425.060 c1228218752 06.02.2022 03:30 203.112.371 c1276484229 2 File(s) 409.537.431 bytes Directory of C:\PortablePrograms\StrategyQuantX\internal\testfiles\1\9 06.02.2022 03:30 <DIR> . 06.02.2022 03:30 <DIR> .. 06.02.2022 02:53 4.461.796 c19307747 06.02.2022 03:30 246.183.817 c1932068986 2 File(s) 250.645.613 bytes Directory of C:\PortablePrograms\StrategyQuantX\internal\testfiles\2 06.02.2022 03:29 <DIR> . 06.02.2022 03:29 <DIR> .. 06.02.2022 03:29 <DIR> 0 06.02.2022 02:53 <DIR> 5 0 File(s) 0 bytes Directory of C:\PortablePrograms\StrategyQuantX\internal\testfiles\2\0 06.02.2022 03:29 <DIR> . 06.02.2022 03:29 <DIR> .. 06.02.2022 03:30 203.821.595 c-2089725502 1 File(s) 203.821.595 bytes Directory of C:\PortablePrograms\StrategyQuantX\internal\testfiles\2\5 06.02.2022 02:53 <DIR> . 06.02.2022 02:53 <DIR> .. 06.02.2022 02:53 5.695.115 c-253865061 1 File(s) 5.695.115 bytes Directory of C:\PortablePrograms\StrategyQuantX\internal\testfiles\6 04.02.2022 04:26 <DIR> . 04.02.2022 04:26 <DIR> .. 04.02.2022 04:26 <DIR> 5 0 File(s) 0 bytes Directory of C:\PortablePrograms\StrategyQuantX\internal\testfiles\6\5 04.02.2022 04:26 <DIR> . 04.02.2022 04:26 <DIR> .. 04.02.2022 04:27 1.906.289.122 c653707452 1 File(s) 1.906.289.122 bytes Directory of C:\PortablePrograms\StrategyQuantX\internal\testfiles\9 06.02.2022 02:53 <DIR> . 06.02.2022 02:53 <DIR> .. 06.02.2022 02:53 <DIR> 0 06.02.2022 02:53 <DIR> 5 0 File(s) 0 bytes Directory of C:\PortablePrograms\StrategyQuantX\internal\testfiles\9\0 06.02.2022 02:53 <DIR> . 06.02.2022 02:53 <DIR> .. 06.02.2022 02:53 4.344.183 c-909449818 1 File(s) 4.344.183 bytes Directory of C:\PortablePrograms\StrategyQuantX\internal\testfiles\9\5 06.02.2022 02:53 <DIR> . 06.02.2022 02:53 <DIR> .. 06.02.2022 02:53 4.278.848 c-957715295 1 File(s) 4.278.848 bytes Total Files Listed: 10 File(s) 4.373.277.367 bytes
Please fix the cleanup of these files and stop SQX from creating these huge log files upon tick-data import. This could be done by simply limiting the size of the log files in the settings, so that we can set say "64MB" "max log file size" and older data is overwritten with new one if it exceeds that threshold.
Thank you.
Description changed:
07.02.2022 13:41 131.569.745.797 log_2022_02_07.log 1 File(s) 131.569.745.797 bytes 0 Dir(s) 0 bytes free
So that even my disk even went full while importing.
There is more waste of space in the \StrategyQuantX\internal\testiles directory all the time, as SQX is not deleting temporary files there, even after closing + restarting the application:
Directory of C:\PortablePrograms\StrategyQuantX\internal\testfiles 06.02.2022 02:53 <DIR> . 06.02.2022 02:53 <DIR> .. 06.02.2022 03:30 <DIR> 1 06.02.2022 03:29 <DIR> 2 04.02.2022 04:26 <DIR> 6 06.02.2022 02:53 <DIR> 9 0 File(s) 0 bytes Directory of C:\PortablePrograms\StrategyQuantX\internal\testfiles\1 06.02.2022 03:30 <DIR> . 06.02.2022 03:30 <DIR> .. 03.02.2022 08:54 <DIR> 0 06.02.2022 03:30 <DIR> 2 06.02.2022 03:30 <DIR> 9 0 File(s) 0 bytes Directory of C:\PortablePrograms\StrategyQuantX\internal\testfiles\1\0 03.02.2022 08:54 <DIR> . 03.02.2022 08:54 <DIR> .. 03.02.2022 08:55 1.588.665.460 c-1070338070 1 File(s) 1.588.665.460 bytes Directory of C:\PortablePrograms\StrategyQuantX\internal\testfiles\1\2 06.02.2022 03:30 <DIR> . 06.02.2022 03:30 <DIR> .. 06.02.2022 03:30 206.425.060 c1228218752 06.02.2022 03:30 203.112.371 c1276484229 2 File(s) 409.537.431 bytes Directory of C:\PortablePrograms\StrategyQuantX\internal\testfiles\1\9 06.02.2022 03:30 <DIR> . 06.02.2022 03:30 <DIR> .. 06.02.2022 02:53 4.461.796 c19307747 06.02.2022 03:30 246.183.817 c1932068986 2 File(s) 250.645.613 bytes Directory of C:\PortablePrograms\StrategyQuantX\internal\testfiles\2 06.02.2022 03:29 <DIR> . 06.02.2022 03:29 <DIR> .. 06.02.2022 03:29 <DIR> 0 06.02.2022 02:53 <DIR> 5 0 File(s) 0 bytes Directory of C:\PortablePrograms\StrategyQuantX\internal\testfiles\2\0 06.02.2022 03:29 <DIR> . 06.02.2022 03:29 <DIR> .. 06.02.2022 03:30 203.821.595 c-2089725502 1 File(s) 203.821.595 bytes Directory of C:\PortablePrograms\StrategyQuantX\internal\testfiles\2\5 06.02.2022 02:53 <DIR> . 06.02.2022 02:53 <DIR> .. 06.02.2022 02:53 5.695.115 c-253865061 1 File(s) 5.695.115 bytes Directory of C:\PortablePrograms\StrategyQuantX\internal\testfiles\6 04.02.2022 04:26 <DIR> . 04.02.2022 04:26 <DIR> .. 04.02.2022 04:26 <DIR> 5 0 File(s) 0 bytes Directory of C:\PortablePrograms\StrategyQuantX\internal\testfiles\6\5 04.02.2022 04:26 <DIR> . 04.02.2022 04:26 <DIR> .. 04.02.2022 04:27 1.906.289.122 c653707452 1 File(s) 1.906.289.122 bytes Directory of C:\PortablePrograms\StrategyQuantX\internal\testfiles\9 06.02.2022 02:53 <DIR> . 06.02.2022 02:53 <DIR> .. 06.02.2022 02:53 <DIR> 0 06.02.2022 02:53 <DIR> 5 0 File(s) 0 bytes Directory of C:\PortablePrograms\StrategyQuantX\internal\testfiles\9\0 06.02.2022 02:53 <DIR> . 06.02.2022 02:53 <DIR> .. 06.02.2022 02:53 4.344.183 c-909449818 1 File(s) 4.344.183 bytes Directory of C:\PortablePrograms\StrategyQuantX\internal\testfiles\9\5 06.02.2022 02:53 <DIR> . 06.02.2022 02:53 <DIR> .. 06.02.2022 02:53 4.278.848 c-957715295 1 File(s) 4.278.848 bytes Total Files Listed: 10 File(s) 4.373.277.367 bytes
Please fix the cleanup of these files and stop SQX from creating these huge log files upon tick-data import. This could be done by simply limiting the size of the log files in the settings, so that we can set say "64MB" "max log file size" and older data is overwritten with new one if it exceeds that threshold.
Thank you.
03:10:32.303 [qtp1177067563-515] INFO c.s.d.data.imports.DataImportEngine - Import history data - recognized file format 'MetaTrader5 Tick Data'. 03:11:15.180 [Nonblocking computeThread - 0 - DataImportFromFile_AUDNZD_ICM_Ticks] INFO c.s.datalib.data.io.DataCsvLoader - [checking_data] Skipping row 10866824, line: 2015.07.23 08:45:32.000 1.11143 1000000.00000000 24, reason: empty String 03:11:15.180 [Nonblocking computeThread - 0 - DataImportFromFile_AUDNZD_ICM_Ticks] INFO c.s.datalib.data.io.DataCsvLoader - [checking_data] Skipping row 10866825, line: 2015.07.23 08:45:33.000 1.11129 200000.00000000 24, reason: empty String 03:11:15.180 [Nonblocking computeThread - 0 - DataImportFromFile_AUDNZD_ICM_Ticks] INFO c.s.datalib.data.io.DataCsvLoader - [checking_data] Skipping row 10866826, line: 2015.07.23 08:45:33.000 200000.00000000 16, reason: empty String 03:11:15.180 [Nonblocking computeThread - 0 - DataImportFromFile_AUDNZD_ICM_Ticks] INFO c.s.datalib.data.io.DataCsvLoader - [checking_data] Skipping row 10866827, line: 2015.07.23 08:45:33.000 1.11142 200000.00000000 24, reason: empty String 03:11:15.180 [Nonblocking computeThread - 0 - DataImportFromFile_AUDNZD_ICM_Ticks] INFO c.s.datalib.data.io.DataCsvLoader - [checking_data] Skipping row 10866828, line: 2015.07.23 08:45:34.000 1.11133 200000.00000000 24, reason: empty String 03:11:15.180 [Nonblocking computeThread - 0 - DataImportFromFile_AUDNZD_ICM_Ticks] INFO c.s.datalib.data.io.DataCsvLoader - [checking_data] Skipping row 10866829, line: 2015.07.23 08:45:34.000 450000.00000000 16, reason: empty String 03:11:15.180 [Nonblocking computeThread - 0 - DataImportFromFile_AUDNZD_ICM_Ticks] INFO c.s.datalib.data.io.DataCsvLoader - [checking_data] Skipping row 10866830, line: 2015.07.23 08:45:35.000 1.11137 200000.00000000 24, reason: empty String 03:11:15.180 [Nonblocking computeThread - 0 - DataImportFromFile_AUDNZD_ICM_Ticks] INFO c.s.datalib.data.io.DataCsvLoader - [checking_data] Skipping row 10866831, line: 2015.07.23 08:45:35.000 1.11134 200000.00000000 24, reason: empty String 03:11:15.180 [Nonblocking computeThread - 0 - DataImportFromFile_AUDNZD_ICM_Ticks] INFO c.s.datalib.data.io.DataCsvLoader - [checking_data] Skipping row 10866832, line: 2015.07.23 08:45:35.000 200000.00000000 16, reason: empty String 03:11:15.180 [Nonblocking computeThread - 0 - DataImportFromFile_AUDNZD_ICM_Ticks] INFO c.s.datalib.data.io.DataCsvLoader - [checking_data] Skipping row 10866833, line: 2015.07.23 08:45:35.000 1.11137 200000.00000000 24, reason: empty String
This most likely relates to this bug that I´ve already reported here: https://roadmap.strategyquant.com/tasks/sq4_8492
Attachment Untitled.png added
Noticed this problem a while back,
i created a simple batch solution for this, you can run it before you run SQX, or just add a runner for the batch to perform the batch script that will delete all those logs and then run SQX afterwards.
https://discord.com/channels/426766614734831616/992528947529138278/992529771189780521