Skip to content

savez fails when /tmp files are size limited. #1

@charris

Description

@charris

The size limit causes problems because savez goes through _savez, which creates a temporary file, then zips it. The size limit arises in recent Linux distros -- Ubuntu, Fedora, others -- that have started mounting tmpfs on /tmp. The tmpfs file system is essentially a ram disk and uses memory, which limits the size available. The advantage is spped and that SSD life is extended by not doing large numbers of small writes. On Linux is it probably better to use /var/tmp when writing big temporary files, but probably the easiest solution would be to put the temporary file in the user's directory. It gets deleted in any case.

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