Skip to content

Serious memory leak in Resource in node.js and other environments caused by RequestScheduler.activeRequests #7670

Open
@bkuster

Description

@bkuster

The Issue

When using sampleTerrainMostDetailed often (thousands of times), the memory usage slowly rises.

Inspections

In node this leads to a large external memory usage over time. We managed to replicate the problem in the browser (see this sandcastle gist). This leads to the following profile over 90 seconds:
Capture

For some reason, the listeners keep on rising, we are currently trying to get to the bottom of this and would welcome any input.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions