Skip to content

Free wand pixel cache #30

@btimby

Description

@btimby

Wand creates large temp files called pixel caches. These will fill the harddrive if unchecked. The wand library cleans up atexit. However pvs is long lived.

http://docs.wand-py.org/en/0.6.2/whatsnew/0.6.html#improved-memory-deallocation-atexit-support

Instead, we need to lock threads out of the wand library, perform shutdown, delete temp files, then re-initialize the library and unlock. R/W locking is needed.

https://pypi.org/project/readerwriterlock/

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