Hello,
I want to know how I can force a GC to run outside the
application. For example. App1 which is where I want the
GC to be collected. I don't want to run GC.Collect within
this application. I want to create App2 which will call
GC.Collect within App1 some how.
The main reason to force the GC collection is that GEN2
collection is growing very fast and I adventgually get
the OutOfMemory exception. When I force the GC.Collect on
GEN2 in App1 then every thing works. But I don't want to
control it via App1 because if in the future I want to
switch this off then all I have to do is uninstall App2.
Please help,