Skip to content

Memory leak due to geometries and materials not being disposed #71

Description

@JosWigchert

Three.js describes that geometries and materials should be disposed by the user (https://threejs.org/manual/#en/how-to-dispose-of-object).
There is no functionality in the library to dispose these things.

When adding and removing items from the scene these resources stay in memory and this results in ram usage increasing without decreasing.

This also happens in demo example 4

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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