Bugs: Browse | Submit New | Admin

[#28693] Too many open files after many calls to Document.file

Date:
2010-11-06 15:17
Priority:
3
Submitted By:
James Pharaoh (jamespharaoh)
Assigned To:
Charlie Savage (cfis)
Category:
General
State:
Open
Summary:
Too many open files after many calls to Document.file

Detailed description
Making a lot of calls to Document.file will result in a "too many open files error". I think what is happening
is that the parser isn't cleaned up until it is finalized by garbage collection. Calling GC.start from time to time
supresses this error and is a workaround.

Really there should be a way of telling the parser to clean up its resources, and convenience methods such as Document.file
should be using it. Perhaps even the parser should be expected to clean up its resources as soon as the document is
parsed, I'm not entirely sure.

Add A Comment: Notepad

Please login


Followup

No Followups Have Been Posted

Attached Files:

Name Description Download
No Files Currently Attached

Changes:

Field Old Value Date By
resolution_idNone2011-04-23 05:54cfis
assigned_tonone2011-04-23 05:54cfis