span8
span4
span8
span4
I'm currently mosaicking 600 geotiffs,these amount to 400mb.Everytime the writer gets to between 80%-90% completed I get the following error:
FATAL |Insufficient memory available -- error code was 2 - please read the FME Help section 'Adjusting Memory Resources' for workarounds.
Out of memory.Program terminating.Please read the FME Help section 'Adjusting Memory Resources' for workarounds.
I have run several others mosaicks with geotiffs in the same workbench except smaller amounts (between 150mb-350mb) and there has been no issues.The smaller mosaicks also seem to complete at a much quicker rate.Anything seemingly over the 350/400mb mark seems to crash the program.
I have FME 2017.1 (64bit).I have 8gb of ram.
Thanks very much for any help!!geotiffmosaiclogfile.zip
The problem with some GeoTIFFs is that they compress really well on file,but when processing them with FME they have to be decompressed to memory,which can make the memory consumption explode.This means that even if your 600 GeoTIFFs "only" take up 400 MB on disk,they could potentially consume a huge amount of memory when decompressed into FME raster features.
As a test,you could try taking a single GeoTIFF and write it with compression turned off to get a feel for how big it will be in memory.
In short: You may have to find a way to group your files to avoid mosaicking all 600 files at once.
You could also try setting the Snapping Type in the RasterMosaicker to "Offset" rather than "Resample" and see if that makes a difference in memory consumption.
One thing that comes to mind is the 4GB file size limit on GeoTIFFs.There's a parameter ("Enable BigTIFF support" on the writer feature type,it defaults to no,can you check whether you have that set to yes?
Since you're using 64-bit FME,the first thing I'd do is verify the size of your virtual memory paging file.Make sure you set it to resize automatically:
© 2019 亚搏在线Safe Software Inc |Legal