In version 19.X This code will generate a memory exception
string text = _wordDocument…GetText().
In version 22.X
there is ExtractedPages(…) method, and you can specify a tempfolder in the loadOptions, This is not available in 19.X so what do I do instead to fix the memory issue.