slideshow memory usage and crash

chrwei

Joined: 2010-09-05
Posts: 2
Posted: Sun, 2010-09-05 21:29

When playing a slideshow of about 200 pictures my ram usage slowly increases to the point of swapping and eventually the IE8 tab crashes. Chrome on linux also eats up all my ram, but doens't swap or crash. IE should be supported and not crash, right? And neither should eat all the systems available ram, IMO.

 
bharat
bharat's picture

Joined: 2002-05-21
Posts: 7934
Posted: Mon, 2010-09-06 18:53

Sounds like a weakness in the CoolIris slideshow. I'm beginning to think that we need a better slideshow implementation. It looks like the CoolIris plugin just keeps all the image data in RAM and if you have a ton of large images it eventually just falls over. It should have a memory pool and not go over.

How big are your images? What's the url to your site? If I can repro this maybe I can do something about it.
---
Problems? Check gallery3/var/logs
bugs/feature req's | upgrade to the latest code | use git

 
bharat
bharat's picture

Joined: 2002-05-21
Posts: 7934
Posted: Mon, 2010-09-06 18:55

FWIW, I'm running it as a test on an album with 500 8MP images on Chrome 7. According to the task manager, it shows the memory holding steady at ~15MB for that tab. I'm using Flash 10.1 -- what version of Flash are you using? This could be a bug in Flash.
---
Problems? Check gallery3/var/logs
bugs/feature req's | upgrade to the latest code | use git

 
chrwei

Joined: 2010-09-05
Posts: 2
Posted: Tue, 2010-09-07 00:41

I had version 10.0.45.2 on IE, and ubuntu 10.04 x64 chromium package bundles 10.0.42.34, and doens't seem easy to upgrade it.

upgrading to 10.1 on IE keeps it from crashing, but it still eats a lot of ram, iexpore.exe quickly jumps to over 500MB, there's only 1GB in the system.

in chromium, the tab's memory use stays low, the memory is all in the npviewer.bin process.

the install is not internet accessible, the images average about 1.7MB each.

 
bharat
bharat's picture

Joined: 2002-05-21
Posts: 7934
Posted: Tue, 2010-09-07 01:41

Ah, got it. I see the growth you're talking about. Well dang, that sucks because CoolIris is really really easy for us to integrate and they've been very silent recently on fixing issues in it :-( I'll ping them and see if they can help with this. Man I wish they'd open source their code!
---
Problems? Check gallery3/var/logs
bugs/feature req's | upgrade to the latest code | use git

 
hijacker

Joined: 2006-01-11
Posts: 7
Posted: Mon, 2010-09-20 16:14

Since a few days ago, cooliris plugin totally stopped working for me! I'd love to see some alternative code for slideshow, not dependent on third party websites.

Cheers,
-Nik

 
bharat
bharat's picture

Joined: 2002-05-21
Posts: 7934
Posted: Thu, 2010-09-23 04:38

I just pushed a new CoolIris path -- upgrade to the latest experimental version and it should work again.
---
Problems? Check gallery3/var/logs
bugs/feature req's | upgrade to the latest code | use git

 
diverselab

Joined: 2010-09-21
Posts: 23
Posted: Thu, 2010-09-23 05:16

cool it worked, i only uploaded modules/slideshow folder from the latest experimental version. So far seems to work fine, is there any other file/s i need to upload from the latest experimental version?