2008-07-14, 08:02 PM
Dan Soussi Wrote:Hi JW,
I did a couple of tests and captured the corresponding log file.
Event 1
I did not wait for the MW background load to complete and seleted MW plugin. It displayed the status message "Plugin initialization in progress ...", paused for a few seconds and completed normally. All movies were displayed under category "What's New".
Changing to category "All Movies" caused a memory usage growth of 800MB (total memory now 2.3GB) and throws the error:
Error translating column image. Exception of type 'System.OutOfMemoryExeption' was thrown.Must kill PVRX2 to recover. :eek:
Event 2
I waited for the background load to complete. This was maybe 6 secs. Selecting the MW plugin I get all movies listed under category "What's New". Selecting category "All Movies" causes the same memory error and gets stuck. Must kill PVRX2 to recover. :eek:
I appreciate your focus on improving your plugin. I hope this helps with your debugging?
Cheers,
Dan
I never quite understood your memory consumption issue til now. I always store my images outside of the db (ie on local hd or via url), you have choosen to store physical image in the db. The program loads the image into memory (rather than just the filename or URL), so that is why memory goes up so dramatically.
I will look at making a change to ONLY pull the image from the db if it is to be displayed, rather than loading all of them in memory (duh, should have done this from the beginning).
I will be out of town for about a week though, so not sure if I'll be able to get this done before I go.