Re: [gdal-dev] MBTiles creation problems on some iOS devices

2016-06-08 Thread gunnarblom
Some additional info. What is weird is that I now tried it on the most low end device, iPhone 4S with 512mb ram and that by default uses 25mb cache. It works pretty well, with some disk writing, but seems on healthy levels. The difference in patterns I see is that on iPad 3 it is writing "Flushed

Re: [gdal-dev] MBTiles creation problems on some iOS devices

2016-06-08 Thread gunnarblom
Thanks, appreciate the response! I tried it with CPL_DEBUG=ON, but it doesn't say anything about low disk space. Here are the logs, where you can see the writing behaviour differ a lot for an unknown reason. This is with GDAL_CACHEMAX on Auto. (I also tried limiting GDAL_CACHEMAX to 49mb on the

Re: [gdal-dev] MBTiles creation problems on some iOS devices

2016-06-08 Thread gunnarblom
Thanks, appreciate the response!I tried it with CPL_DEBUG=ON, but it doesn't say anything about low disk space.Here are the logs, where you can see the writing behaviour differ a lot for an unknown reason. This is with GDAL_CACHEMAX on Auto. (I also tried limiting GDAL_CACHEMAX to 49mb on the

Re: [gdal-dev] MBTiles creation problems on some iOS devices

2016-06-08 Thread Even Rouault
On Tuesday 07 June 2016 12:17:58 gunnarblom wrote: > Hi. > > I'm using GDALTranslate() in C++ to convert GTiffs (5k*5k pixels) to MBTiles > (resulting size: ~60mb) on iOS. > > It works good on iPhone 6 (1GB ram), iPhone 6S (2GB ram, peaks GDAL usage at > 160mb) and iPad Mini 3 (1GB ram) and