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 bletool listen #4

Closed
theBASTI0N opened this issue Apr 7, 2021 · 3 comments
Closed

Memory Leak bletool listen #4

theBASTI0N opened this issue Apr 7, 2021 · 3 comments

Comments

@theBASTI0N
Copy link

theBASTI0N commented Apr 7, 2021

Device: x750
Package Version: gl-bletool 3.4.3

When using the command 'bletool listen' the memory used by this consistenly increases until the device memory is full and the command crashes.

image

Once the memory usages gets high enough this is received:
image

Then about a minute of expected data is received.

The issue may be from the json library and not releasing the memory after the message is sent.

@HeFeng1947
Copy link
Contributor

HeFeng1947 commented Apr 28, 2021

Device: x750
Package Version: gl-bletool 3.4.3

When using the command 'bletool listen' the memory used by this consistenly increases until the device memory is full and the command crashes.

image

Once the memory usages gets high enough this is received:
image

Then about a minute of expected data is received.

The issue may be from the json library and not releasing the memory after the message is sent.

Thank you for your feedback. I will test this as soon as possible.

@HeFeng1947
Copy link
Contributor

Device: x750
Package Version: gl-bletool 3.4.3

When using the command 'bletool listen' the memory used by this consistenly increases until the device memory is full and the command crashes.

image

Once the memory usages gets high enough this is received:
image

Then about a minute of expected data is received.

The issue may be from the json library and not releasing the memory after the message is sent.

I have fixed this issue in version 3.4.5. If there is no new problem, I will close this issue one day later.

@theBASTI0N
Copy link
Author

Hey thanks for the update.
3.4.5 is working as expected.

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