Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Memory leak #3

@adri326

Description

@adri326

After pinning down the source of the memory leak in my application, I saw that a huge portion of it came from your library, specifically perlin.js:41.

this.memory[[x,y]] = v;

I understand the motive behind it (it's much faster to retrieve this data from memory), but in my case it led to the application crashing after one hour of perlin-driven motion.

I'd recommend to add some kind of flag to disable the memory, or to stop putting anything in it once it reaches a critical size.

Also, your library has no LICENSE file, so I can't contribute to it.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions