Skip to content

Freezing under heavy load #34

@vonhoff

Description

@vonhoff

When logging a large number of complex messages to the RichTextBox sink, the application could freeze, throw exceptions, or slow down due to excessive garbage collection.

  • Rapid logging caused the UI to become unresponsive due to too many queued UI updates.
  • Disposing the sink after heavy use could throw ArgumentOutOfRangeException from RtfBuilder.Clear().

Reproduction steps:

  • Fill the logger up till max
  • Rapidly click the "Complex" button in the Demo form
  • The logger should freeze
  • Click dispose

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions