Project

General

Profile

Actions

Bug #2992

closed

File operations leak file handles in Windows XP

Added by phiggins (Pete Higgins) almost 15 years ago. Updated over 13 years ago.

Status:
Closed
Target version:
ruby -v:
ruby 1.9.1p378 (2010-01-10 revision 26273) [i386-mingw32]
Backport:
[ruby-core:28833]

Description

=begin
Various operations on files leak file handles in Windows XP. In the two attached scripts, Task Manager will report ~30 open file handles for the ruby process at the first gets, then ~230 at the second gets.

This has only been reproducible in Windows XP. This behavior is not seen in Windows Vista or 7.

More discussion of this issue occurred on the RubyInstaller mailing list in this thread:
http://groups.google.com/group/rubyinstaller/browse_thread/thread/85ddec7241b4f0f7
=end


Files

test_md5.rb (272 Bytes) test_md5.rb phiggins (Pete Higgins), 03/21/2010 05:34 AM
test_file_read.rb (415 Bytes) test_file_read.rb phiggins (Pete Higgins), 03/21/2010 05:34 AM
Actions

Also available in: Atom PDF

Like0
Like0Like0Like0Like0