Closed tmm1 closed 2 years ago
I'm seeing this on Windows 10 32-bit:
MapViewOfFile: Not enough memory resources are available to process this command.
This is fine because 32bit address space is limited and must be filling up. But then when I try to delete the file I was mapping, it fails too:
err removing file: 0000000002b4.zap, err: remove USA-MN53371-X.airings\store\0000000002b4.zap: Access is denied.
I think this is because the h handle is leaked here:
h
https://github.com/edsrzf/mmap-go/blob/904c4ced31cdffe19e971afa0b3d319ff06d9c72/mmap_windows.go#L68-L70
I'm seeing this on Windows 10 32-bit:
This is fine because 32bit address space is limited and must be filling up. But then when I try to delete the file I was mapping, it fails too:
I think this is because the
h
handle is leaked here:https://github.com/edsrzf/mmap-go/blob/904c4ced31cdffe19e971afa0b3d319ff06d9c72/mmap_windows.go#L68-L70