Topic: Cannot create a string longer than 0x1fffffe8 characters
Hi All
I'm getting the above error when creating large collections (250k+ strategies) by joining JSON files togther and trying to reload them for validation.
From a bit Of googling this relates to some node.js limit of 512Mb. This corresponds to the file sizes I am working with <500Mb works, anything above that generates the error.
I've taken to zero-ing out many of the fields (balance, equity and any backtestsstats) to reduce the file size, as I figure these fields would be updated during the validation anyway.
Is there a better way to deal with this? Is zeroing out the fields actually a bad idea from a strategy validation point of view?
Thanks.