Skip to content

[Question]Buffer's memory is allocated to a raw memory outside the v8 heap? #3012

Closed
@yosuke-furukawa

Description

@yosuke-furukawa

I found this sentence in our buffer.markdown.

A Buffer is similar to an array of integers but corresponds to a raw memory allocation outside the V8 heap.

In my understandings, Buffer is re-implemented using ArrayBuffer in io.js v3. I am thinking that ArrayBuffer allocates memory inside the v8 heap. So Buffer's memory also allocates to v8 heap inside.

If the documentation is wrong, I will send PR.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bufferIssues and PRs related to the buffer subsystem.questionIssues that look for answers.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions