https://bugs.winehq.org/show_bug.cgi?id=46675
--- Comment #3 from Zebediah Figura z.figura12@gmail.com --- (In reply to tjb from comment #2)
(In reply to Zebediah Figura from comment #1)
Well, there may be a bug in Wine, but more likely the program is just leaking file handles, in which case there's really nothing we can do. I guess I'd check a +file,+ntdll log to make sure.
Thanks for your quick reply. If the program was leaking file handles I would think it would crash on Windows also, unless windows automatically garbage collects stale handles somehow. I'll try the +file,+ntdll log.
Windows doesn't garbage-collect stale handles; it just doesn't have an limit to open kernel handles the same way Linux has a limit to open file descriptors. (Windows also pages out kernel memory, which IIRC Linux does not, which does something to explain why this is the case.)