NextPVR Forums
  • ______
  • Home
  • New Posts
  • Wiki
  • Members
  • Help
  • Search
  • Register
  • Login
  • Home
  • Wiki
  • Members
  • Help
  • Search
NextPVR Forums Public Add-ons (3rd party plugins, utilities and skins) Old Stuff (Legacy) v
« Previous 1 … 61 62 63 64 65 … 125 Next »
ZapImport memory handling

 
  • 0 Vote(s) - 0 Average
ZapImport memory handling
BobAtTorrey
Offline

Member

Posts: 118
Threads: 49
Joined: Jul 2005
#1
2006-06-29, 02:43 PM
In getting things set up recently I've been updating the EPG while I'm awake and watching and I wonder if there is a problem, or at least gross inefficiency, in the way ZapImport is working.

I've configured it to use SQLite and to re-use the zapdata.xml fetched by GBPVR's EPG update. In one run the ZapImport log file says "Total loaded" records was 8654. The zapdata.xml file was about about 20 MB, and the final zapimport.db3 was less than 7 MB.

YET, I watched zapimport's memory usage rise to about 325 MB, took 9 minutes 54 seconds to complete (with nothing else going on in the machine), and for most of that time took in the range of 80-99% of the CPU.

Is this as it should be?
rowle1jt
Offline

Senior Member

Posts: 493
Threads: 46
Joined: May 2006
#2
2006-06-29, 06:08 PM
Mine does the same thing, so I would venture a guess it is normal. I set mine for 2am and let it go. My guess, is thats why sub programmed GBPVR to schedule it.

After all, 8000+ records is a fair amount of data to sort through in an XML file, I would think.

NPVR Rig: HP Laptop, 3rd Gen i7, 8gb DDR3, 250gb SSD (OS), Records to 6tb array on my server, Silicon Dust HDHomeRun PRIME

To Purchase:
Current Projects:
BobAtTorrey
Offline

Member

Posts: 118
Threads: 49
Joined: Jul 2005
#3
2006-06-30, 12:41 AM
Well, the job finishes without error, so I guess it's 'normal' in the sense of working the way it's been designed. But some of the numbers don't seem reasonable in terms of what you'd think would need to be done to accomplish the task.

Example: In a subsequent run I saw it go to about 360 MB. For simplicity assume that the size of the software is a negligible part of that. So 360 MB for about 9000 records, even if it were all in memory at the same time, means it's using 40,000 bytes per record. Doesn't sound reasonable, which is why something seems amiss in the implementation.
UncleJohnsBand
Offline

Posting Freak

U.S.A.
Posts: 5,643
Threads: 258
Joined: Feb 2005
#4
2006-07-01, 03:19 PM
It handles all the parsing and readin in RAM.....that is why you see the memory increase........
Intel Core i7 @ 4.00GHz Skylake 14nm
ASUSTeK COMPUTER INC. Z170-DELUXE
Windows 10 Pro x64
PVR Software: NPVR 5.1.1
SiliconDust HDHomeRun HDHR5-4US Connect Quatro 4 Channel Tuner
Roku Ultra
2 PCH A-100's
« Next Oldest | Next Newest »

Users browsing this thread: 1 Guest(s)



Possibly Related Threads…
Thread Author Replies Views Last Post
  ZapImport Error ww4397 5 2,094 2007-02-26, 02:21 AM
Last Post: fla
  Music Library Memory Leak? pastro 0 1,149 2007-01-27, 05:54 AM
Last Post: pastro
  ZapImport fails (manifest discrepancy?) BobAtTorrey 3 2,124 2006-07-09, 01:49 AM
Last Post: UncleJohnsBand
  XMEDIA-LE: Unhandled Error -- Out of Memory ww4397 2 1,604 2006-06-04, 09:42 PM
Last Post: ww4397
  zapimport error pens18aj 2 1,892 2006-05-26, 11:45 PM
Last Post: ydekmekji
  XRecord - possible memory leak? Playall problem JohnInSJ 1 1,311 2006-01-04, 04:22 PM
Last Post: jorm
  My Pictures eats a lot of Virtual Memory MaBo 8 2,832 2005-11-30, 12:37 PM
Last Post: pbj
  Zapimport spyder40 0 1,258 2005-11-23, 09:55 PM
Last Post: spyder40
  zapimport crashes BobAtTorrey 1 1,315 2005-10-09, 04:55 PM
Last Post: UncleJohnsBand
  zapimport crashing during postupdateepg.bat ReZnOriO 1 1,226 2005-10-05, 10:41 PM
Last Post: spyder40

  • View a Printable Version
  • Subscribe to this thread
Forum Jump:

© Designed by D&D, modified by NextPVR - Powered by MyBB

Linear Mode
Threaded Mode