-
-
Notifications
You must be signed in to change notification settings - Fork 1k
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 on Raspberrypi Zero W #1583
Comments
Confirmed on : RPi Zero W v1.1 rss usage grow by ~2MB/s and cpu load is almost 100% CauseOn RPi Zero W (and probably RPi 3) port serial1 is linked to ttyAMA0 and used by Bluetooth
Solution 1Don't use /dev/serial1 or /dev/ttyAMA0. Device /dev/serial0 will appear. It is wired to GPIO14 and 15. Solution 2 (maybe better)If Bluetooth is not needed, add |
Woo! This did it:
Thanks! |
Nice! |
SerialPort Version: 6.2.0
NodeJS Version: v6.11.4 also v8.11.1
Operating System and Hardware Platform: Raspbian GNU/Linux 9.3 (stretch)
Have you checked the right version of the api docs?: Yes
Are you having trouble installing and you checked the Installation Special Cases docs? No issues installing
Are you using Electron and have you checked the Electron Docs?: N/A
Summary of Problem
I am getting a memory leak of about 2MB per second and CPU thrashing.
Steps and Code to Reproduce the Issue
I thought it might be #1572 so I waited for the fix there, but I still have the issue using 6.2.0 . The weird thing is that I don't have the memory leak on a
raspberry pi zero
(no wifi). Other assorted details:I'm guessing it is environment related, but not sure where to look.
The text was updated successfully, but these errors were encountered: