Matlab import of Aperio .svs file creates java memory error
Posted: Thu Oct 18, 2012 1:24 pm
Making my first attempts to import a file to Matlab using Bioformats. The file is generated by Aperio, has a .svs extension, and is large. It also has several ancillary files (metadata) that should be brought in at the same time. Here is how it goes (below). Any thoughts on how to fix this? Thanks. Paul
>> A=bfopen('E:\data\Theresa\Aperio Scans from tmz\83806.svs');
Reading IFDs
Populating metadata
Populating OME metadata
Expected positive value for PhysicalSizeX; got 0.0
Expected positive value for PhysicalSizeY; got 0.0
Reading series #1
.??? Java exception occurred:
java.lang.OutOfMemoryError: Java heap space
at loci.common.DataTools.allocate(DataTools.java:863)
at loci.formats.ChannelSeparator.openBytes(ChannelSeparator.java:157)
at loci.formats.ChannelSeparator.openBytes(ChannelSeparator.java:143)
Error in ==> bfGetPlane at 38
plane = r.openBytes(iPlane - 1);
Error in ==> bfopen at 93
arr = bfGetPlane(r, i);
>> A=bfopen('E:\data\Theresa\Aperio Scans from tmz\83806.svs');
Reading IFDs
Populating metadata
Populating OME metadata
Expected positive value for PhysicalSizeX; got 0.0
Expected positive value for PhysicalSizeY; got 0.0
Reading series #1
.??? Java exception occurred:
java.lang.OutOfMemoryError: Java heap space
at loci.common.DataTools.allocate(DataTools.java:863)
at loci.formats.ChannelSeparator.openBytes(ChannelSeparator.java:157)
at loci.formats.ChannelSeparator.openBytes(ChannelSeparator.java:143)
Error in ==> bfGetPlane at 38
plane = r.openBytes(iPlane - 1);
Error in ==> bfopen at 93
arr = bfGetPlane(r, i);