OmniThreadLibrary icon indicating copy to clipboard operation
OmniThreadLibrary copied to clipboard

Big memory leak (consumption) on Async running from another Async (nested).

Open brunosanson opened this issue 9 years ago • 2 comments

If you run nested method using Parallel.Async you got a big memory consumption at runtime.

My application get a Exception: "Out of Memory" after a few days.

My configs:

  • Delphi XE2 with last update;
  • Last version OTL;
  • Windows 7 x64, Windows 8.1 x64.

Exemple OLT Parallel.Async Big Memory Consumption.zip

brunosanson avatar Sep 15 '16 22:09 brunosanson

Wow! That's interesting!

Looking into that. No idea what's going on.

gabr42 avatar Oct 27 '16 17:10 gabr42

OK, I see the problem. It may be tough one to fix due to certain implementation details.

gabr42 avatar Oct 27 '16 19:10 gabr42