bugGNUpod - Bugs: bug #34886, gnupod programs fail to parse a...

 
 

bug #34886: gnupod programs fail to parse a large GNUtunesDB.xml file

Submitter:  None
Submitted:  Wed 23 Nov 2011 05:12:47 PM UTC
   
 
Category:  General Severity:  3 - Normal
Priority:  5 - Normal Item Group:  None
Status:  None Privacy:  Public
Assigned to:  None Open/Closed:  Open
* Mandatory Fields

Post a Comment

Add a New Comment Rich Markup
   

Discussion

Wed 23 Nov 2011 05:12:47 PM UTC, original submission:  

Hi,

My GNUtunesDB.xml file got too large for XML::Parser to buffer via ->parse_file, and all programs were failing with this error:

> Parsing XML document...

Ran out of memory for input buffer at /usr/lib/perl5/XML/Parser/Expat.pm line 469.

Attached is a patch that fixes the issue by incrementally parsing.

Anonymous

 

Attached Files

Attached Files
file #24435:  gnupod-xml-parse-out-of-memory.diff added by None (469B - text/x-patch)

(Note: upload size limit is set to 16MiB, after insertion of the required escape characters.)

Attach Files:
   
   
Comment:
   

 

Dependencies

This item does not depend on any other items.

No items depend on this one.

 

Mail Notification Carbon-Copy List

 

Votes

There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.

Only logged-in users can vote.

 

History

Follows 1 latest change.

Date Changed by Updated Field Previous Value => Replaced by
2011-11-23 None Attached File- Added gnupod-xml-parse-out-of-memory.diff, #24435

Back to the top

Powered by Savane 3.16.
Corresponding source code