Menu

#3 Fix a FD leak.

open
nobody
None
6
2004-10-28
2004-10-28
No

Method TransactionManager#recover(), executed
periodically by the JDBM, leaves open a FileInputStream
on the log file. The opened stream is eventually closed
by the stream finalizer, but some programs (my program
is one of them) expect the database files to be
suitable for deletion (via the File#delete()), and some
operation systems, like Windows XP, will deny file
deletion when there is an open stream on the file.

Discussion

  • Artem Grinblat

    Artem Grinblat - 2004-10-28

    A patch agains the current CVS source to fix the problem described.

     
  • Artem Grinblat

    Artem Grinblat - 2004-10-28
    • priority: 5 --> 6
     

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.