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

fix: close internal tokenizer stream #16

Merged
merged 1 commit into from
Nov 6, 2024

Conversation

st3iny
Copy link

@st3iny st3iny commented Nov 4, 2024

The object is cleaned up by PHP but the (temp) stream remains open thus leaking a lot of memory. Potentially thousands of tokenizer instances are created when syncing large mailboxes which causes significant memory leaks.

Requires bytestream/Stream#5

The object is cleaned up by PHP but the (temp) stream remains open thus
leaking a lot of memory. Potentially thousands of tokenizer instances
are created when syncing large mailboxes which causes significant memory
leaks.

Signed-off-by: Richard Steinmetz <[email protected]>
@bytestream bytestream merged commit e72ae63 into bytestream:master Nov 6, 2024
5 checks passed
@bytestream
Copy link
Owner

Thanks ❤️

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

Successfully merging this pull request may close these issues.

2 participants