INTERACT FORUM

Please login or register.

Login with username, password and session length
Advanced search  
Pages: [1]   Go Down

Author Topic: Out of memory error loading xmltv guide  (Read 2595 times)

jonkjon

  • Recent member
  • *
  • Posts: 26
Out of memory error loading xmltv guide
« on: September 03, 2009, 01:16:00 pm »

While loading the xmltv guide data, i receive an out of memory error and no data loads. I am running Vista Ultimate SP2 with 4 gb ram and a q8200 cpu. Thanks in advance.
Logged

Matt

  • Administrator
  • Citizen of the Universe
  • *****
  • Posts: 42387
  • Shoes gone again!
Re: Out of memory error loading xmltv guide
« Reply #1 on: September 03, 2009, 01:27:48 pm »

While loading the xmltv guide data, i receive an out of memory error and no data loads. I am running Vista Ultimate SP2 with 4 gb ram and a q8200 cpu. Thanks in advance.

Would you be able to to send a copy of the XMLTV file you're parsing to matt at jriver dot com?  Compress it if possible.

Thanks.
Logged
Matt Ashland, JRiver Media Center

Matt

  • Administrator
  • Citizen of the Universe
  • *****
  • Posts: 42387
  • Shoes gone again!
Re: Out of memory error loading xmltv guide
« Reply #2 on: September 03, 2009, 03:12:55 pm »

Thanks for the file.  I see the out-of-memory error too.

We're using in-memory parsing of XMLTV.  It looks like the grow-by-chunks allocation when loading UTF-8 (the XML) to UTF-16 (used inside the program) is a problem on a huge file like that.

Media Center 14.0.63 (available in about a week on the v14 board) will have a more memory efficient parser.  It will still use 300 MB for that file, but that should be alright for a short burst.

The next step would be a disk-based record-by-record parser, but I don't think that will be necessary.

Thanks again for the help.
Logged
Matt Ashland, JRiver Media Center

jonkjon

  • Recent member
  • *
  • Posts: 26
Re: Out of memory error loading xmltv guide
« Reply #3 on: September 03, 2009, 05:16:55 pm »

You're sure welcome. Is there something that i can do to get around this in mc13 or am i just out of luck?.....
Logged

Matt

  • Administrator
  • Citizen of the Universe
  • *****
  • Posts: 42387
  • Shoes gone again!
Re: Out of memory error loading xmltv guide
« Reply #4 on: September 04, 2009, 09:25:49 am »

Sorry, but any new changes will be in v14 only.

v14 is stable and our recommended download now. 

Television in v14 has recently had some nice improvements for how series and metadata is handled that you might like.  We hope to put out a build this weekend with the updated XML parser.
Logged
Matt Ashland, JRiver Media Center
Pages: [1]   Go Up