NextPVR Forums
  • ______
  • Home
  • New Posts
  • Wiki
  • Members
  • Help
  • Search
  • Register
  • Login
  • Home
  • Wiki
  • Members
  • Help
  • Search
NextPVR Forums Public Developers v
« Previous 1 78 79 80 81 82 … 93 Next »
"My Pictures" Plugin

 
  • 0 Vote(s) - 0 Average
"My Pictures" Plugin
darrin75
Offline

Senior Member

Posts: 558
Threads: 103
Joined: Nov 2004
#31
2004-12-08, 10:36 PM
no way i have 512gb a ram and 850gb hd
reven
Offline

Posting Freak

Posts: 5,782
Threads: 396
Joined: Sep 2004
#32
2004-12-08, 10:54 PM
well if you get an out of memory exception, it means your out of memory. this would only really happen if your computer has beening running for ages, been doing a whole lot of crap, or if you have a huge load of images in the dir, and have built an thumbnail for each of. the thumbnails are only created when needed, and are stored in memory once built for each view, and then are disposed when you change a folder.

this error shouldnt happen often. its never happened to me. and im only on 256 on two machines.
KingArgyle
Offline

Posting Freak

Posts: 1,271
Threads: 95
Joined: Nov 2004
#33
2004-12-09, 01:33 AM
Reven, how are you loading the pictures, are you actually loading all the pictures into memory or are you maintaining a link. If darrin75 is saying he's getting out of memory errors, suggesting more memory many not be the solution.

It's usually better to maintain a list of links or pointers to something and load it as needed. Might also need to Null some objects so that the VM will clean them up quicker. Even though .NET has a garbage collector, leaving it to the system to decide when to empty isn't always a good idea. Better to still NULL an object out when done using it then to leave it to the system to decide when you are done using it.

Just a suggestion as I truely have no idea how you are handling it.
reven
Offline

Posting Freak

Posts: 5,782
Threads: 396
Joined: Sep 2004
#34
2004-12-09, 03:44 AM
images are only being loaded when needed, but im not explicitly disposing the images.  you know the story from the other thread.

i only said buy more memory to poke fun Tongue.  im trying to fix this now.



reven
Offline

Posting Freak

Posts: 5,782
Threads: 396
Joined: Sep 2004
#35
2004-12-09, 06:11 AM
ive just updated the plugin in the wiki, it disposing images when they are no longer needed, but still i dont recommend having lots and lots of images in one directory (if you do, you may wish to use list view instead).

if you get another memory error, can you record a few things, like goto task manager and see how much ram gbpvr is using, how long it was running, if anything heavy was running prior or when the error occured. anything that might have an impact on the memory. changing views causes more images to be built, so thats why the error occured, wasnt enough memory to build those (i thought windows would have handled this thou, increase paging file or something).
darrin75
Offline

Senior Member

Posts: 558
Threads: 103
Joined: Nov 2004
#36
2004-12-09, 06:47 AM
thanks
darrin75
Offline

Senior Member

Posts: 558
Threads: 103
Joined: Nov 2004
#37
2004-12-09, 06:53 AM
Seems to fixed my problem..I was wondering if the preview can be implemented in my videos
reven
Offline

Posting Freak

Posts: 5,782
Threads: 396
Joined: Sep 2004
#38
2004-12-09, 07:27 AM
nah it would be nice, i would like it, but i have no control over displaying videos, and sub i think said somewhere he couldnt show videos in a little box or anything using the mediaplayer control hes using, or something like that. so not until sub implements something like this, and make it accessible for plugins. which in all honesty can wait, its not an all together important feature, just a nice to have one.

would be nice to exit live tv mode, and browse around the menu then reenter live and not have stopped capture that channel, so if go back and the adds are over you can rewind.
i guess that should go under the wish board. well sub thats my wish for the day.
reven
Offline

Posting Freak

Posts: 5,782
Threads: 396
Joined: Sep 2004
#39
2004-12-09, 08:00 PM
ok if anyone has downloaded the plugin from the wiki in the last 12 hours (from this post, check the time) can you redownload it, there was a major bug in it. (i was trying to reduce memory and i made a few silly mistakes, apparently you cant dispose an image then assign a different image to it, kept getting null execptions) so i fixed the problem, which is now in the wiki.
bluesxman
Offline

Senior Member

Posts: 311
Threads: 7
Joined: Jul 2004
#40
2004-12-09, 08:01 PM
[b Wrote:Quote[/b] (darrin75 @ Dec. 08 2004,22:36)]no way i have 512gb a ram and 850gb hd
With that much ram why bother with a hard disk? [Image: biggrin.gif]
« Next Oldest | Next Newest »

Users browsing this thread: 1 Guest(s)

Pages (8): « Previous 1 2 3 4 5 6 … 8 Next »
Jump to page 


Possibly Related Threads…
Thread Author Replies Views Last Post
  PIP plugin for Kodi sgilani 2 3,104 2022-10-17, 12:44 AM
Last Post: sgilani
  New Systems Plugin kirschey 10 3,576 2020-11-14, 08:01 PM
Last Post: sub
  VIdeo playback from plugin mvallevand 5 3,653 2015-08-06, 10:43 PM
Last Post: sub
  Attention Sub: Open TV / Custom Data Grabber plugin Benoire 2 3,018 2014-11-14, 02:05 AM
Last Post: Benoire
  API docs to help with plugin development? McBainUK 3 2,894 2013-06-08, 06:14 PM
Last Post: sub
  Refreshing TV Guide Data (after System plugin EPG update) imilne 13 6,340 2013-03-24, 08:03 PM
Last Post: imilne
  sabnzbd plugin to show processed files Wakalaka 1 2,035 2013-03-12, 06:48 AM
Last Post: psycik
  Plugin problems with started from the command line mvallevand 11 5,272 2012-08-12, 07:56 PM
Last Post: sub
  Get NextPVR data directory from outside a plugin McBainUK 3 2,349 2012-02-11, 05:42 PM
Last Post: mvallevand
  Weather Plugin imilne 0 1,508 2012-01-15, 08:33 PM
Last Post: imilne

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

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

Linear Mode
Threaded Mode