hzeller / rpi-rgb-led-matrix

Controlling up to three chains of 64x64, 32x32, 16x32 or similar RGB LED displays using Raspberry Pi GPIO
GNU General Public License v2.0
3.64k stars 1.16k forks source link

beware nodejs garbage collection. #629

Open russdx opened 6 years ago

russdx commented 6 years ago

Just a heads up if any one is using nodejs. The board will dip in brightness when the gc does a full mark sweep! this can be minimized by tweaking the gc memory params / forcing a manual gc when convenient for you (ideally when display blank or low brightness)

hzeller commented 6 years ago

You might be able to mitigate some by setting the FIXED_FRAME_MICROSECONDS in your case https://github.com/hzeller/rpi-rgb-led-matrix/blob/master/lib/Makefile#L105