On Fri, 2008-10-24 at 12:25 -0700, Dane Springmeyer wrote: > So, my attempts continue to get mapnik rendering the benchmarking > datasets used in the Geoserver vs. Mapserver tests > (http://blog.geoserver.org/2008/10/22/geoserver-benchmarks-at-foss4g-2008/ > ). > > In trying to render a 200MB gdal layer in Mr Sid format I get the > following error with mapnik build in DEBUG: > > size = 2 > file=S-34-30_2000/S-34-30_2000.sid > type=gdal > datasource=0x36d130 type=1 > name=gdal encoding=utf-8 > layer1 - > Envelope(160576.125,-3875914.625,839403.375,-3317784.875) > layer2 - > Envelope(160576.125,-3875914.625,839403.375,-3317784.875) > scale=1395.32 > start map processing > bbox=Envelope(81392.4375,-3875914.625,918587.0625,-3317784.875) > scale denominator = 5.54739e+11 > start layer processing : S-34-30_2000 > datasource = 0x36d130 > Block=1024x128 Type=Byte Color=Red > Block=1024x128 Type=Byte Color=Green > Block=1024x128 Type=Byte Color=Blue > Python(36546) malloc: *** mmap(size=3168227328) failed (error code=12) > *** error: can't allocate region > *** set a breakpoint in malloc_error_break to debug > 0.01 s > MemoryError > close connection 0x895200 > > I think other users have run into memory errors like this when using a > gdal layer, but I've not seen any workarounds. > > Short of doing malloc debugging like the error hints, I may trying > converting to tiff. > > Anyone else have suggestions?
I don't see any crashes, but I don't get anything being rendered either. What are you using as your test script & style? The latest MrSid SDK is compiled with gcc-4.1 and I used a Fedora 8 VM to do my tests. If I tried to link the library against gdal and Mapnik on Fedora 9 with gcc-4.3 I suspect I would have run into problems. It could result in crashes like those that you are seeing. Jon _______________________________________________ Mapnik-users mailing list [email protected] https://lists.berlios.de/mailman/listinfo/mapnik-users

