Closed jcupitt closed 10 years ago
Libvips tries to keep memory use down and leave caching up to the operating system. Your unused memory should be filled with copies of recently used bits of disc files by your OS.
You can add your own explicit caching. If there's a bit of your nip2 workspace that you know is being repeatedly recalculated you can add a cache node with Toolkits / Image / Cache. If you leave max tiles at -1, it'll cache the entire image. You do need to be careful though: add too many caches and your OS won't have much memory left for disc caching, and you can see a large performance drop.
You don't say what platform you are using, but on Windows nip2 is still a 32-bit program and can't use more than about 3GB. That might be a problem too, perhaps. It's 64-bit on OS X and Linux.
How do I increase the memory available? I have 16GB of RAM but nip2 doesn't seem to use more than 2-3 GB at any point. I've tried increasing Heap size in Preferences since that seemed to be the only related option but it didn't seem to have any effect.