Skip to content

Slow large text processing #15

Description

@sunnybear

We have quite a huge RegExp (1-2k of symbols, 30-100 groups). And on large bodies (300-500kb) it slows nginx down (1-5 seconds x 2 GHz x 1 core) with huge memory consumption (1-3-10 Gb). Although current impact to the document is quite small (about 1k of replacements). Can provide body + RegExp, but it seems memory usage logic must be rewritten to fit complex cases.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions