我已经在RPI 3B +上编写了一些软件,并且在RPI运行了几个小时后,仍然出现以下错误。
buffer.js:79
class FastBuffer extends Uint8Array {}
^
RangeError: Array buffer allocation failed
at new ArrayBuffer (<anonymous>)
at new Uint8Array (<anonymous>)
at new FastBuffer (buffer.js:79:1)
at Function.alloc (buffer.js:282:10)
at new Buffer (buffer.js:180:19)
at Object.<anonymous> (/home/pi/Bistro/node_modules/bson/lib/bson/bson.js:31:14)
at Module._compile (internal/modules/cjs/loader.js:702:30)
at Object.Module._extensions..js (internal/modules/cjs/loader.js:713:10)
at Module.load (internal/modules/cjs/loader.js:612:32)
at tryModuleLoad (internal/modules/cjs/loader.js:551:12)
有人会帮助我调试此问题,因为这会导致我的进程崩溃?
如果您需要更多信息,请告诉我,我将更新问题。
任何帮助将不胜感激。