[gdal-dev] Problems in use:Unable to get buffer.Please ignore the email just now

岳天王 tianwang.yue at dms365.com
Wed Feb 23 18:26:29 PST 2022




When I use gdal to generate tiles for a 68G image, I get an error: Unable to get buffer.

Summary of error message:
java.lang.RuntimeException: Unable to get buffer.
at org.gdal.gdal.gdalJNI.Dataset_WriteRaster__SWIG_3(Native Method) ~[gdal-3.1.0.jar:?]
at org.gdal.gdal.Dataset.WriteRaster(Dataset.java:511) ~[gdal-3.1.0.jar:?]

java.lang.RuntimeException: Unable to allocate temporary buffer.
at org.gdal.gdal.gdalJNI.Dataset_ReadRaster__SWIG_3(Native Method) ~[gdal-3.1.0.jar:?]
at org.gdal.gdal.Dataset.ReadRaster(Dataset.java:415) ~[gdal-3.1.0.jar:?]


development environment: jdk8、GDAL 3.1.4、windows server2019


What is the reason for this exception, am I not releasing some resources?


岳天王
tianwang.yue at dms365.com


签名由网易邮箱大师定制










-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/gdal-dev/attachments/20220224/d132a0c1/attachment.html>


More information about the gdal-dev mailing list