[Mono-bugs] [Bug 685863] Improve (?) GC to collect when there are too many finalizers queued.

bugzilla_noreply at novell.com bugzilla_noreply at novell.com
Tue Aug 23 17:49:05 EDT 2011



Jonathan Pryor <jonpryor at vt.edu> changed:

           What    |Removed                     |Added
             Status|REOPENED                    |RESOLVED
                 CC|                            |jonpryor at vt.edu
         Resolution|                            |INVALID

--- Comment #4 from Jonathan Pryor <jonpryor at vt.edu> 2011-08-23 21:49:04 UTC ---
Mark as invalid because of Comment #3: there's nothing we can do here.

You can instead explicitly dispose of the instance, as suggested in Comment #2,
or you can add a System.GC.Collect() call somewhere within the loop. This
allows me to get to 64000 iterations before I get bored; for comparison, I got
to ~52000 on hardware w/o the GC.Collect() call.

Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.
You are the assignee for the bug.

More information about the mono-bugs mailing list