Skip to content

can't free memory used by loading GeoJsonDataSource, even when not added to viewer #9058

Open
@Maarondesigns

Description

@Maarondesigns

When calling GeoJsonDataSource.load multiple times the memory usage continues to rise and never goes back down, even when the datasource is never added to the viewer, no entities are created/shown and there is no way to 'unload' the datasource.

My use case is increasing polygon resolution as the user zooms in, and decreasing when not visible on the screen or zoomed out. Once the higher resolution is loaded the increased memory usage never goes down again.

Sandcastle example:
I can't really provide a sandcastle example because this requires loading external geojson files from somewhere.

Browser:
Chrome Version 84.0.4147.89
Operating System:
Windows 10.0.18362 Build 18362

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