node-packer icon indicating copy to clipboard operation
node-packer copied to clipboard

Buffer size

Open Ni-vek opened this issue 6 years ago • 4 comments

Hi,

For an app that uses modbus and mbus communication, in a Raspberry, I have this error RangeError: "size" argument must not be larger than 1073741823

This error is only thrown with the compiled app, not with the sources and not on a 64 bits system...

Ni-vek avatar Jul 17 '17 08:07 Ni-vek

Could you give more information about the Operating system, CPU and CPU architecture? Sounds like a platform that has not yet been tested on.

pmq20 avatar Jul 20 '17 10:07 pmq20

You're right 😄 The OS is raspbian (debian for raspberry pi). The problem is that the OS is 32bits while the raspberry can support 64bits. I finally found a 64bits OS for rpi!!! here! Works like a charm

Ni-vek avatar Jul 21 '17 07:07 Ni-vek

@Ni-vek Glad to hear it works. Congratulations. I'm curious, what's your use scenario on Node.js on raspberry pi? Could you share a little bit? Thanks :)

pmq20 avatar Jul 21 '17 07:07 pmq20

I use rpi & node for technical building management and house automation. that's just perfect!

Ni-vek avatar Jul 24 '17 05:07 Ni-vek