Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Memory leak with regex #2

Open
TofPlay opened this issue Mar 8, 2019 · 3 comments
Open

Memory leak with regex #2

TofPlay opened this issue Mar 8, 2019 · 3 comments

Comments

@TofPlay
Copy link

TofPlay commented Mar 8, 2019

Hi,
image
I'm using the latest version (1.0.1) of your component with Vapor 3.
As you can see I have an issue with the 'matchingStrings'. For some reason I do not know the regex would take memory but would not release it later.

@TofPlay
Copy link
Author

TofPlay commented Mar 9, 2019

May be you can read this article: Regular Expressions without NSRegularExpression

@TofPlay
Copy link
Author

TofPlay commented Mar 11, 2019

You can also take a look at this component: Regex - A pure Swift NFA implementation of a regular expression engine

@dylanreich
Copy link

@TofPlay I'm using this library... Would that leak be an issue I would need to worry about? Maybe you have a fork if @malcommac doesn't have a fix?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants