[mythtv-commits] Ticket #13517: Reducing memory usage by mythfilldatabase to 1/6 of original usage

MythTV noreply at mythtv.org
Sun Feb 16 00:52:36 UTC 2020


#13517: Reducing memory usage by mythfilldatabase to 1/6 of original usage
---------------------------------------+-------------------------------
 Reporter:  Hans Dingemans             |          Owner:  Peter Bennett
     Type:  Patch - Feature            |         Status:  assigned
 Priority:  minor                      |      Milestone:  needs_triage
Component:  MythTV - Mythfilldatabase  |        Version:  Master Head
 Severity:  medium                     |     Resolution:
 Keywords:                             |  Ticket locked:  0
---------------------------------------+-------------------------------

Comment (by Hans Dingemans):

 Replying to [comment:5 Gary Buhrmaster]:
 > Currently, invalid XMLTV files (which are a reality of life) will be
 rejected before processing the bad data.  It is not clear that this is
 still true (I have a hard time following the patch file results), and I
 would consider a failure to validate the entire file being a valid XML
 document *before* processing a serious regression (as bad XMLTV files are
 a reality, even with a zero return code from the grabber itself).

 I agree; the patch is a straight 1:1 recode of QDomDocument to
 QXmlStreamReader, which are in the same library. All checks have remained
 the same.

 However, the proof of the pudding is in the eating; if you have some real-
 life malformed XMLTV files, please send them to me or attach them here.

-- 
Ticket URL: <https://code.mythtv.org/trac/ticket/13517#comment:6>
MythTV <http://www.mythtv.org>
MythTV Media Center


More information about the mythtv-commits mailing list