large ndpi images on Windows

Benjamin Gilbert bgilbert at
Thu Apr 17 13:37:25 EDT 2014

On 04/17/2014 12:43 PM, Benjamin Gilbert wrote:
> On 04/17/2014 10:51 AM, jcupitt at wrote:
>> Hi all, I'm having some trouble reading a large (>2GB) .ndpi image on
>> 32-bit Windows. Has anyone got this working?
> On 32-bit systems, OpenSlide 3.4.0 will try to read non-TIFF files > 2
> GB completely into memory, which can cause the process to abort when
> g_malloc() fails to allocate a buffer that large.

On second thought, that problem doesn't affect NDPI.  We previously 
treated NDPI as a non-TIFF format, but we don't anymore.

--Benjamin Gilbert

More information about the openslide-users mailing list