-
Notifications
You must be signed in to change notification settings - Fork 109
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
Bad Memory Leak #128
Comments
P.S. May be related to #110 which is quiet old 👎 |
Yes this could be related indeed 👀 |
Thank you for your quick reply, if I'll find time I'll have a look, but I don't know when and if I can fix it, so we'll c .. |
Because I couldn't find another quick solution I switched to https://github.com/Xinne/osc4py3 (which implements a nearly similar lib interface) and the RAM leak issue is gone! Sorry but also CPU is slightly less abused by using osc4py3 compared to python-osc. Hopefully you find some time to optimize this, good luck .. So my solution to avoid this nasty RAM issue is to use the alternate OSC lib https://github.com/Xinne/osc4py3 |
I experience heavy memory consumption when sending "fast" signals. I tested it to receive MIDI note and clock signals but memory looks like it gets never freed, just accumulating. I'm just sending some simple MIDI notes. It's easy to reproduce, try:
Now when sending (midi) messages at 300 BPM, I'll get the following cumulative memory usage (~ +100MB/10min):
This looks not good. Am I doing something wrong here? Sadly this is more or less your example code :(
In fact memory get's never freed even when signal sending is stopped! This is not acceptable (for my purpose) ..
Please point me to a solution how fix this, I can't figure out what shall be wrong with the code, thanks
Or is this a bug? If so, when could I expect it to be fixed? Is this project still under development?
The text was updated successfully, but these errors were encountered: