Invalid File error if too many polygons are loaded
Cura LE Version: 3.6.3
Operating System: Windows 10 (fully patched) 64-bit with 32Gb or RAM
Printer: Taz 6
Tool Head: Using SL 0.25mm nozzle but it is not tied to nozzle size.
Description of issue: There seems to be a memory issue where if a model has too many polygons it will just not load and give an "Invalid File" error. The problem seems to be somehow tied to the total number of polygons loaded since Cura was started. Even if a model will load properly once all I have to do is clear the build plate and repeat (with the same model) and eventually I will get told it is an "Invalid File". This may be a known issue but searching here for "Invalid File" gave a ton of results that didn't seem to fit this bill (although I didn't check every one of them).
Steps to reproduce: Using the model p1stl.stl from https://www.thingiverse.com/thing:3479423 (I'll also upload the model) start Cura load the model, clear the build plate, reload model, clear build plate etc. Usually at the 4th load I will get the "Invalid File" error although a couple of times I got in on the 5th load. Note that I am submitted this on my office computer (with no printer attached) but the same issue will arise at home regardless of whether my printer is attached or not (I usually have it attached to a Raspberry pi and print from that).
Model used in reproducing the error at thingiverse link above