Skip to content

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

Closed

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.

Activity

  1. added a commit that references this issue on Nov 6, 2016
  2. added a commit that references this issue on Jan 5, 2019
  3. added a commit that references this issue on May 29, 2019
  4. added a commit that references this issue on Jun 29, 2019
  5. added a commit that references this issue on May 14, 2021
  6. added a commit that references this issue on Aug 15, 2021
  7. added a commit that references this issue on Feb 16, 2024
  8. added a commit that references this issue on Feb 24, 2026
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

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions