Are you sure this is necessary? GC.AddMemoryPressure documentation [1] states that this will "improve performance only for types that exclusively depend on finalizers".
[1] https://learn.microsoft.com/en-us/dotnet/api/system.gc.addmemorypressure?view=net-7.0 On Tue, Jul 11, 2023 at 1:02 AM Raymond Wilson <raymond_wil...@trimble.com> wrote: > I'm making changes to add memory pressure to the GC to take into account > memory committed to the Ignite data regions as this will be unmanaged > memory allocations from the perspective of the GC. > > I don't call seeing anything related to this for .Net clients in the > documentation. Are you aware of any? > > Raymond. > > On Mon, Jul 10, 2023 at 9:41 PM Raymond Wilson <raymond_wil...@trimble.com> > wrote: > >> Thanks Pavel, this makes sense. >> >> Querying the .Net Process instance shows this as the difference between >> PagesMemorySize (includes committed) versus WorkingSet (includes >> uses/written to) size. >> Raymond. >> >> > > -- > <http://www.trimble.com/> > Raymond Wilson > Trimble Distinguished Engineer, Civil Construction Software (CCS) > 11 Birmingham Drive | Christchurch, New Zealand > raymond_wil...@trimble.com > > > <https://worksos.trimble.com/?utm_source=Trimble&utm_medium=emailsign&utm_campaign=Launch> >