Skip to content

rasterize into a too large array should error instead of killing VS Code #1041

@felixcremer

Description

@felixcremer

When I am stupid enough to rasterize into a 50000 x 50000 array I would have hoped, that this would error immediately instead of killing my julia session while trying to allocate this much memory.

I know that I can specify a filename and then this should just work, but this still seems like a footgun.

Maybe we can get the size of the available RAM and then throw an error if the result would be larger.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions