System.Linq.Dynamic.Core icon indicating copy to clipboard operation
System.Linq.Dynamic.Core copied to clipboard

Ram Usage Spike in WinForms

Open jaafar-k opened this issue 3 years ago • 5 comments

1. Description

When using Dynamic LINQ in a WinForms application, the ram usage increases by about 100 MB, no matter how much data is being returned. Simply using anything from the Dynamic LINQ library, whether it's a select, where, or any other method, the ram usage can be seen instantly increasing regardless of the data size. Some delay is also noticed as the form will pause until execution is done (as it is synchronous). Note that this only happens the first time Dynamic LINQ is used, the ram usage will increase and it will stay the same (around 140 MB in my experience), and any further usage will not be as slow.

4. Any further technical details

WinForms in .Net 6 (Core), with EF Core 7, and SQLite.

jaafar-k avatar Dec 08 '22 08:12 jaafar-k

@jaafar-k Can you please provide a full working example?

StefH avatar Feb 04 '23 18:02 StefH

@jaafar-k Can you please provide a full working example?

StefH avatar Feb 22 '23 17:02 StefH

@jaafar-k It's very difficult to analyze without a example project, please provide a full working example.

StefH avatar May 20 '23 08:05 StefH

@jaafar-k Can you please provide a full example?

StefH avatar Aug 08 '23 15:08 StefH

@jaafar-k Can you please provide a full example?

StefH avatar Dec 05 '23 18:12 StefH