As MATLAB moves away from its Java desktop into a new one, its JRE heap size now tops up at 1/4 system memory - 4608MB on my 18GB machine. This is not enough to load my file twice (first in trackmateSpots(), then errors during trackmateFeatureDeclarations()). It feels ironic that a 18GB machine cannot handle something as little as 850 MB.
It seems to be a good time to migrate to matlab.io.xml.* tools. Moreover, there're readstruct('FileType', 'xml') (since R2020b) and readable('FileType', 'xml') (since R2021a) too.
As MATLAB moves away from its Java desktop into a new one, its JRE heap size now tops up at 1/4 system memory - 4608MB on my 18GB machine. This is not enough to load my file twice (first in
trackmateSpots(), then errors duringtrackmateFeatureDeclarations()). It feels ironic that a 18GB machine cannot handle something as little as 850 MB.It seems to be a good time to migrate to
matlab.io.xml.*tools. Moreover, there'rereadstruct('FileType', 'xml')(since R2020b) andreadable('FileType', 'xml')(since R2021a) too.