Using Multiple images (and threads)
jcupitt at gmail.com
jcupitt at gmail.com
Fri Jul 18 04:13:37 EDT 2014
On 18 July 2014 03:52, Benjamin Gilbert <bgilbert at cs.cmu.edu> wrote:
> On 07/17/2014 05:31 AM, jcupitt at gmail.com wrote:
>> You could also consider using a higher-level image library. I maintain vips:
>>
>> http://www.vips.ecs.soton.ac.uk/index.php?title=VIPS
>
> The excessive memory use is likely caused by the tile cache in each
> openslide_t, since Derek has many slides open at once. Does VIPS
> dynamically close and reopen format readers to limit the number of open
> files?
Yes, it has an operation cache. It keeps the last N operations alive
in a cache for reuse, and sizes the cache to fit various resource
limits, like memory and number of open file descriptors.
Of course I don't know Derek's needs, perhaps it wouldn't be suitable.
John
More information about the openslide-users
mailing list