-
Notifications
You must be signed in to change notification settings - Fork 130
memory leak in 1.4.0 #135
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
Comments
I think that I'm also experiencing the same memory leak on add_word. Edit - I was experiencing a different memory leak. |
@AlonSh could you please provide some minimal example? |
Yeah:
and you'll see your memory exploding after some calls. |
Great! Thank you. |
I am pushing tests to run on the CI on many Linux ... but while I can have it fail locally on Ubuntu 16... the tests seem to pass on more recent linux. I wonder if this is not dependent on a certain version of the compiler? Otherwise, this is a head scratcher. |
This test for #81 and #135 fails on on Ubuntu 16.x but not on 18 and up It is also passing on the manylinux containers from PyPA. Signed-off-by: Philippe Ombredanne <[email protected]>
Hello guys, Is there any update on this issue? |
Hi, i'm sorry for opening such an old issue, but i'm currently experiencing the same issue.
I'm using version 1.4.0 now and getting small steady memory leaks (after debugging with tracemalloc) on:
A = ahocorasick.Automaton()
MyList = [...]
for x in MyList:
A.add_word(y, (y, z))
is there a chance this bug has returned
Thanks,
Eden.
Originally posted by @EdenAzulay in #81 (comment)
The text was updated successfully, but these errors were encountered: