Skip to content

Array buffer allocation failed #13

@McGiverGim

Description

@McGiverGim

While trying to use your code, all works ok with only some files to package, when I add all the files that I need to package I have an error:

buffer.js:109
    return new ArrayBuffer(size);
           ^

RangeError: Array buffer allocation failed
    at new ArrayBuffer (<anonymous>)
    at createUnsafeArrayBuffer (buffer.js:109:12)
    at createUnsafeBuffer (buffer.js:103:25)
    at allocate (buffer.js:321:12)
    at Function.allocUnsafe (buffer.js:282:10)
    at Function.concat (buffer.js:470:23)
    at /home/miguel/git/betaflight/betaflight-configurator/node_modules/stream-to/index.js:39:29
    at Pack.onEnd (/home/miguel/git/betaflight/betaflight-configurator/node_modules/stream-to/index.js:18:5)
    at Object.onceWrapper (events.js:254:19)
    at Pack.emit (events.js:159:13)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions