Cacheing strategy ?

Anything (more or less) related to FastPictureViewer not fitting in the above sections.

Cacheing strategy ?

Postby simonfbarnes on Mon Dec 20, 2010 2:55 pm

When I'm browsing my photos (70MB TIFFS) FPV quickly allocates as much RAM as I allow it, but as soon as I select an image into Photoshop, its allocation drops to ~5MB, so that when I return to photo browsing there's a delay while FPV starts refilling its cache. I'd like to be able to tell it to hang onto its cache unless I specifically tell it to release it!
simonfbarnes
 
Posts: 7
Joined: Fri Mar 12, 2010 3:53 pm

Re: Cacheing strategy ?

Postby Axel on Thu Dec 30, 2010 5:16 pm

FPV uses memory quite aggressively to preload and cache images and you cannot have two memory-hungry apps competing with each other.

Releasing as much memory as possible when launching external applications is a feature that helps avoid memory contentions, where your Photoshop instance would starve for memory and cause excessive paging while FPV holds images loaded in RAM while sitting idle in the background.

Currently the program clears its image cache and shrinks its memory footprint to a minimum (the 5 MB you saw) to free up as much resources for the external editor being launched. There is indeed a cost when swapping back to FPV after you are done with the external program, but we feel it's better like this than to suffer from slow performance or "out of memory" errors in the other app because resources are held in use. There is (currently) no preference option to alter this behavior.
Axel
Site Admin
 
Posts: 794
Joined: Thu Nov 06, 2008 1:54 am
Location: Geneva, Switzerland

Re: Cacheing strategy ?

Postby simonfbarnes on Thu Dec 30, 2010 5:27 pm

Well, it doesn't suit me - I have enough RAM for both programs to grab as much as they need - according to the configuration limits I set them ie 2GB for PS and ~700MB for FPV :)
simonfbarnes
 
Posts: 7
Joined: Fri Mar 12, 2010 3:53 pm

Re: Cacheing strategy ?

Postby Axel on Thu Dec 30, 2010 6:10 pm

We'll think of adding some option directing the program to retain memory when launching external applications.
Axel
Site Admin
 
Posts: 794
Joined: Thu Nov 06, 2008 1:54 am
Location: Geneva, Switzerland


Return to General Discussions