Saving a FixedDocument to an XPS file causes memory leak

后端 未结 2 1893
耶瑟儿~
耶瑟儿~ 2021-02-05 23:31

I have created a .NET Windows Service which performs certain actions and generates reports. These reports are XPS documents which I save in a certain directory.

Being fa

2条回答
  •  粉色の甜心
    2021-02-05 23:59

    From this, it looks like you have to call .UpdateLayout() at least once to avoid memory leak

提交回复
热议问题