NextPVR Forums
  • ______
  • Home
  • New Posts
  • Wiki
  • Members
  • Help
  • Search
  • Register
  • Login
  • Home
  • Wiki
  • Members
  • Help
  • Search
NextPVR Forums Public Developers v
« Previous 1 … 62 63 64 65 66 … 93 Next »
Skinning Question

 
  • 0 Vote(s) - 0 Average
Skinning Question
kayleigh
Offline

Senior Member

Posts: 321
Threads: 18
Joined: Oct 2004
#1
2006-01-02, 06:08 AM
I've been working through my GB-PVR skin, but I'm finding that I run out of memory after 2-3 days. I don't have any errors listed in the logfile until the PendingRecording panel tries to refresh, then it throws an "Out of Memory" error. The recording service is still running, but the GUI freezes and GB-PVR memory usage is around 149,000k.

The reason I suspect that the skin is causing this issue is (1) no one else has reported this issue with the latest release and (2) it's only been in the last two weeks since I'd tweaked the skin a bit more.

So, after the long preamble, the question I have is: Is it more memory-efficient to use button graphics and the DrawImage method (the skin refers to six different button.png files), or is it better to use the DrawRoundedRect method for button graphics?
[SIZE=1]
HD PVR: nPVR 4.2.2 with VLC 3.0.3 Std Skin
ASRock H170M Pro4 LGA 1151 Intel H170 HDMI-out, Intel Core i3-6100 3.7GHz, 16GB DDR4 2400, Win7 Ultimate x64, Hauppauge Colossus, 1x250GB SSD (System), 1x1TB SATA (Recordings), DirecTV HD22 STB, dtvTune.exe Ethernet channel changer

Running Samsung Smart TV plugin from Fred250
sub
Offline

Administrator

NextPVR HQ, New Zealand
Posts: 106,708
Threads: 767
Joined: Nov 2003
#2
2006-01-02, 06:18 AM
Quote:So, after the long preamble, the question I have is: Is it more memory-efficient to use button graphics and the DrawImage method (the skin refers to six different button.png files), or is it better to use the DrawRoundedRect method for button graphics?
To be honest, I think there would be very little difference. DrawRoundedRect would use slightly less memory, but nothing significant.
kayleigh
Offline

Senior Member

Posts: 321
Threads: 18
Joined: Oct 2004
#3
2006-01-02, 06:25 AM
Thanks for the fast reply. I was just checking the Support Forum about this issue here. I'll monitor that going forward.
[SIZE=1]
HD PVR: nPVR 4.2.2 with VLC 3.0.3 Std Skin
ASRock H170M Pro4 LGA 1151 Intel H170 HDMI-out, Intel Core i3-6100 3.7GHz, 16GB DDR4 2400, Win7 Ultimate x64, Hauppauge Colossus, 1x250GB SSD (System), 1x1TB SATA (Recordings), DirecTV HD22 STB, dtvTune.exe Ethernet channel changer

Running Samsung Smart TV plugin from Fred250
sub
Offline

Administrator

NextPVR HQ, New Zealand
Posts: 106,708
Threads: 767
Joined: Nov 2003
#4
2006-01-02, 06:39 AM
I'd be surprised if people were running out of memory because of that memory usage in the Recording Service. It is all freed after the EPG update, but the system will only reclaim it if it starts to run low elsewhere.

Its more like you've got a plugin that isnt managing resources correctly, and is dynamically creating bitmaps (or something similar) every time it draws the screen or something similar.

I have lots of other things running on my PC with GB-PVR, and I dont have any memory issues (even after leaving it run for days), but then I also dont have any plugins installed.
psycik
Offline

Posting Freak

Posts: 5,210
Threads: 424
Joined: Sep 2005
#5
2006-01-02, 07:12 AM
I've seen posts about memory coming up a bit more frequently. Is there any easy ways of figuring out a plugin causing a memory leak. or would the only real way be to uninstall them and put each one on.

Or any way of figuring out the number of bitmaps being used by gbpvr?
sub
Offline

Administrator

NextPVR HQ, New Zealand
Posts: 106,708
Threads: 767
Joined: Nov 2003
#6
2006-01-02, 03:13 PM
Quote:But which plugins do you use? You never say? Don't you test all the plugins with your program or just the default ones. I know what you mean with certain plugins leaking memory
I literally dont use or test any other plugins. I only use whats in the default GB-PVR installation.
sub
Offline

Administrator

NextPVR HQ, New Zealand
Posts: 106,708
Threads: 767
Joined: Nov 2003
#7
2006-01-02, 03:14 PM
Quote:Or any way of figuring out the number of bitmaps being used by gbpvr?
There are probably some memory profiler tools that would tell you this, but I dont have any first hand experience with these.
kayleigh
Offline

Senior Member

Posts: 321
Threads: 18
Joined: Oct 2004
#8
2006-01-02, 05:01 PM
sub Wrote:I'd be surprised if people were running out of memory because of that memory usage in the Recording Service.
There are two threads that kinda merged into one; I should've posted to the "Memory Leak in GBPVR.exe" thread - that's the issue I've got. The Recording Service memory usage is not a problem for me.
sub Wrote:Its more like you've got a plugin that isnt managing resources correctly, and is dynamically creating bitmaps (or something similar) every time it draws the screen or something similar.
That's why I had a question about skinning. I was trying to eliminate possibilities. I'd originally thought about the Weather plugin, because it downloads radar bitmaps (about 3-4, I think), but the issue still surfaced after I'd disabled it for a few days. I'd even tried uninstalling it, but no change. (In case i haven't updated my signature, I've been using the latest version for a few weeks now.)
[SIZE=1]
HD PVR: nPVR 4.2.2 with VLC 3.0.3 Std Skin
ASRock H170M Pro4 LGA 1151 Intel H170 HDMI-out, Intel Core i3-6100 3.7GHz, 16GB DDR4 2400, Win7 Ultimate x64, Hauppauge Colossus, 1x250GB SSD (System), 1x1TB SATA (Recordings), DirecTV HD22 STB, dtvTune.exe Ethernet channel changer

Running Samsung Smart TV plugin from Fred250
« Next Oldest | Next Newest »

Users browsing this thread: 1 Guest(s)



Possibly Related Threads…
Thread Author Replies Views Last Post
  Web API only_new Question Gazavant 6 2,685 2021-04-04, 06:54 PM
Last Post: sub
  Another Artwork question scJohn 15 8,169 2019-09-10, 05:33 PM
Last Post: nonob
  WEB API GuidService/Listing question(s) scJohn 6 4,294 2017-08-09, 02:18 PM
Last Post: scJohn
  skin question pBS 2 3,346 2016-06-18, 07:03 PM
Last Post: pBS
  Another SQL question bgowland 15 7,243 2014-05-21, 08:09 AM
Last Post: bgowland
  Timing.Info question mvallevand 2 2,073 2013-04-19, 03:54 AM
Last Post: mvallevand
  Skinning & Rendering mvallevand 31 8,061 2011-05-29, 09:43 PM
Last Post: Jaggy
  N-PVR db3 EPG_EVENT time format question bgowland 3 2,098 2011-03-12, 05:26 AM
Last Post: bgowland
  Ping UncleJohnsBand (question about npvr soap) ioan 2 2,051 2011-02-18, 01:12 AM
Last Post: UncleJohnsBand
  Skin question - how to centre a list UiList control on screen? McBainUK 2 1,847 2011-02-17, 08:46 AM
Last Post: McBainUK

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

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

Linear Mode
Threaded Mode