Skip to content

mapped_temp_inode leaking space on windows #160

@patstew

Description

@patstew

On some machines (it doesn't happen to me, but does to one of my colleagues) the space allocated to a mapped_temp_inode on windows doesn't seem to get freed until the machine is rebooted. Successive invokations in separate application instances consume free disk space until none is left, until reboot, whereupon it all comes back. It doesn't seem to matter whether the llfio handle is cleanly destructed or not, it always does get freed for me and not for them when the application is closed/killed.

I'm not sure how to debug this, obviously it's difficult to get windows to tell you anything about a file with no filename. With windirstat they are able to see a corresponding 'Unknown' block on the disk with no path after the handle and application are closed.

The same issue does not occur with mapped_temp_file (which is a fine workaround for our purposes).

Any idea what's going on?

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