Le 23/10/2025 à 01:37, zrh via gdal-dev a écrit :
Hi, everyone,

I want to know the max size of a VRT file.
No fixed limit, but how much usable RAM your process has access to. My guess-timate would be that you need about between 2 and 10 times the VRT file size.

When I use gdal_translate to convert a vrt to tiff, I got error:

CPLMutexHolder: Failed to acquire mutex!
ERROR 2: Cannot allocate CPLXMLNode

It seems that memory allocation issue.

I use gdal_translate.exe with x86 version, not x64.

You pretty much diagnosed the cause of the issue...

If you use VRT in a mosaicing context, you'd rather want to use https://gdal.org/en/stable/drivers/raster/gti.html instead of VRT with a very large number of sources. The RAM requirements of GTI are very small compared to VRT.

Even

--
http://www.spatialys.com
My software is free, but my time generally not.
_______________________________________________
gdal-dev mailing list
[email protected]
https://lists.osgeo.org/mailman/listinfo/gdal-dev

Reply via email to