As far as I know, this issue is brought on when a webgl app starts taking too much memory. I don't think -Dopenfl-disable-graphics-upscaling would contribute to that. If anything I would expect it to decrease the amount of memory allocated..
I haven't realy looked into how to recover from a context loss event in openfl. just enough to realize it would take a lot of effort