I have started to see the following error while live paper trading:

“Memory Usage Maxed Out - 512MB max, with last sample of 512MB. in Isolator.cs:line 179”

I am running hourly data resolution through the FundementalUniverseSelectionModel, utilizing both coarse and fine selection. The strategy initially filters on a few criteria (market, market cap, dollar volume, etc.), and then sorts based on the price/value ratio. I've tried to eliminate all excess memory usage. However, I am still running into this error.

During troubleshooting, I had the coarse selection function filter out all securities whose symbol did not begin with “A”. I wanted to drastically reduce the number of securities being evaluated. Annoyingly, this had minimal to no effect on memory usage. Am I fighting a losing battle here? Is the data coming in for the Fundemenental Universe already too large? I would be fine with trading on only half of the USA market if that would solve the memory issue (and if there is a way to implement this).