Further possible fix to reduce memory usage (#6390)
Further possible fix to reduce memory usage (#6390)

* reduce memory usage

* further possible fix

* further possible fix

brettfo/visualfsharp,cloudRoutine/FSharp.Compiler.Service,brettfo/visualfsharp,dsyme/fsharp,dsyme/fsharp,brettfo/visualfsharp,brettfo/visualfsharp,dsyme/fsharp,cloudRoutine/FSharp.Compiler.Service,dsyme/fsharp,dsyme/fsharp,brettfo/visualfsharp,dsyme/fsharp,dsyme/fsharp,cloudRoutine/FSharp.Compiler.Service,brettfo/visualfsharp