I am now using the latest pre-built image on a Pi ZeroW. I have modified server.js to add the --time option and also the -o option for HLS output. This works well and I can view the streams both using a PC Chrome browser (flash) and an Android phone chrome browser (which appears to require HLS)
However, viewing the stream (using PC browser, though I have not checked if the same problem exists using Android browser) the memory usage of the 'node' program (as shown by 'top') slowly grows over time. In the case of my Pi ZeroW which has limited memory this used up all available memory in the space of about 5 hours and caused the system to freeze and require a power cycle to recover. The memory used does NOT appear to increase if the picam-streamer service is running but no browser is connected.
Could there be a memory leak somewhere in the program being run by node.js ? I am afraid I am not familiar with node.js so have not been able to determine the cause myself.
Thanks for a great program. I hope this is something you can reproduce and fix easily.
Hi,
I am now using the latest pre-built image on a Pi ZeroW. I have modified server.js to add the --time option and also the -o option for HLS output. This works well and I can view the streams both using a PC Chrome browser (flash) and an Android phone chrome browser (which appears to require HLS)
However, viewing the stream (using PC browser, though I have not checked if the same problem exists using Android browser) the memory usage of the 'node' program (as shown by 'top') slowly grows over time. In the case of my Pi ZeroW which has limited memory this used up all available memory in the space of about 5 hours and caused the system to freeze and require a power cycle to recover. The memory used does NOT appear to increase if the picam-streamer service is running but no browser is connected.
Could there be a memory leak somewhere in the program being run by node.js ? I am afraid I am not familiar with node.js so have not been able to determine the cause myself.
Thanks for a great program. I hope this is something you can reproduce and fix easily.