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.

Re: Cannot create a string longer than 0x1fffffe8 characters

I'm deleting the balance and equity lines of the strategies when transferring them to the Top 10 app's online holder. This makes the files twice as small. However, the collections cannot be loaded directly on the EA Studio's Collection page.

To save space, it seems like a good idea to add an option like "--export-chart-data true." However, it is also possible to add only two values, the first and the last one. It will show a diagonal line in the EA Studio collection, which is much better than nothing smile

I'll test it this weekend.