Status changed from New to Waiting for information
What is the problem with this? If you don't want SQ to use that much memory set it to use less RAM.
@hankey: as mentioned, JavaVM will always first fill up the RAM you assign to it before performing any garbage collection (freeing up RAM), that is how java works and even if the coders of SQX would like to do it different, they cannot, because java does not allow any memory management, which is the good and the bad at the same time.
As for the crashes, that is not OK of course. Which JavaVM are you using? Try GraalVM EE and see if it still crashes. If so, did you test your RAM? Try this one for 24 hours: https://www.karhusoftware.com/ramtest/ it is just 10 Euros and has found any memory problem I ever had. Just like you, I am also running on 128GB RAM and 24 hours a day, without any crashes in months.
Status changed from Waiting for information to Refused
I think these Monte Carlos are responsible for the crash. On my computer the 10k strategies use around 10-15 GB of RAM.
With 200 MC simulations for each strategy it will be almost 200x that - well, not really, MC results are highly optimized so that they don't use as much memory as standard backtest but still they could use 5-10x more memory.
So the recommendation is to lower the number of strategies generated in the first step from 10k to 1k, OR apply better filtering so that only a much smaller portion of them gets to the MC test tasks.
and if i change the project, so i dont save also failed strats and keep only passed ones the problem with big ram usage remains also
Java tying up memory that you have assigned to it (even if not needed by Java in that exact moment) should not be a problem in and of itself. Java should free the memory some point before it crashes if it can. It does not waste the resources required to keep the lowest memory possible, instead it only frees up memory at the last moment if needed and if it can. More efficient that way. Not an SQX thing it's a Java thing.
Yes it seems weird when you are used to other applications which free up ram for you more eagerly but if you read this you will see that it is in fact Logical:
https://www.geekyhacker.com/2019/01/04/jvm-does-not-release-memory/
That is the big downside of Java, as I said. However, try the
-XX:-ShrinkHeapInSteps
option. It reduced the RAM usage during long runs a little bit, while having no impact on the Performance here.