Skip to content

Invalid array buffer length #102

@gleidsonhenriques

Description

@gleidsonhenriques

Hi all,

I'm trying to start some tests with this code and i'm getting the error below every time that i try to start a test:

RangeError: Invalid array buffer length
at new ArrayBuffer (native)
at new Uint8Array (native)
at createBuffer (buffer.js:23:15)
at allocate (buffer.js:98:12)
at new Buffer (buffer.js:53:12)
at DownloadController.getDownload (/root/Speed-testJS/controllers/DownloadController.js:56:30)
at Layer.handle [as handle_request] (/root/Speed-testJS/node_modules/express/lib/router/layer.js:95:5)
at next (/root/Speed-testJS/node_modules/express/lib/router/route.js:137:13)
at Route.dispatch (/root/Speed-testJS/node_modules/express/lib/router/route.js:112:3)
at Layer.handle [as handle_request] (/root/Speed-testJS/node_modules/express/lib/router/layer.js:95:5)

I'm testing a Gigabit Network. Below are some specs and environment of the server:

Distro: Ubuntu 16.04.2 LTS
NodeJS: v4.2.6
NPM: 3.5.2
Memory:
              total        used        free      shared  buff/cache   available
               1999         222        1676           5         101        1639

If anyone knows what's going on and may help me i'll be really glad full.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions