-
Notifications
You must be signed in to change notification settings - Fork 143
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
Detect fifo buffer underrun #73
Comments
The buffers are dynamic and should only "overflow" if your computer runs out of ram. I have pushed a steady 1Mbaud for days and days without any overflow on a ras pi. I would suggest using VisualVM to analyze your application's memory management because it sounds more like leaky memory than some buffer drop. If you are losing bytes in the serial stream, look at your physical layer and microcontroller code. |
There should be more than enough free ram on my BeagleBone Black, but it seams to make a difference if I use the new or the old version of nrjavaserial. (Some of the ZWave values ar not loading with the new version) I will also discuss this in the OpenHAB forum after some more testing. |
I forgot to ask, did you test this with the latest 3.12.0 version? (The issue was merged after 3.11.0 was released) |
stale closing |
Is it possible to detect fifo buffer overflows with this library?
The reason why I'am asking is because of the changes in this issue: #36
I suspect that my OpenHAB server is loosing some ZWave events because of this. Is there a way to check how often the serial port buffer did overflow?
The text was updated successfully, but these errors were encountered: