2 zxl65715 zxl65715 于 2014.10.23 14:27 提问

unflatten: registerBuffer failed: Out of memory (-12)

报错代码:
0-23 14:19:33.612: E/gralloc(25532): int gralloc_map(const gralloc_module_t*, buffer_handle_t): could not mmap Out of memory
10-23 14:19:33.612: E/GraphicBuffer(25532): unflatten: registerBuffer failed: Out of memory (-12)
10-23 14:19:33.662: E/gralloc(25532): int gralloc_map(const gralloc_module_t*, buffer_handle_t): could not mmap Out of memory
10-23 14:19:33.662: E/GraphicBuffer(25532): unflatten: registerBuffer failed: Out of memory (-12)
10-23 14:19:33.807: E/CursorWindow(25532): Could not allocate CursorWindow '/storage/emulated/0/palmtrends/mySqlite/baseData.sqlite' of size 2097152 due to error -12.
10-23 14:19:34.192: E/CursorWindow(25532): Could not allocate CursorWindow '/storage/emulated/0/palmtrends/mySqlite/baseData.sqlite' of size 2097152 due to error -12.
10-23 14:19:34.972: E/CursorWindow(25532): Could not allocate CursorWindow '/storage/emulated/0/palmtrends/mySqlite/baseData.sqlite' of size 2097152 due to error -12.

我使用arcgis地图,不停的在acitivty的mapview上切换切片地图数据,
每次切换数据我都mapview.removeAll();
layer.recycle();
再重新new Layer;
mapview.addLayer(Layer);
操作3 5次 不会有问题 多次操作就会崩溃,并报以上错误。
有知道原因的吧,感谢解惑!

Csdn user default icon
上传中...
上传图片
插入图片
准确详细的回答,更有利于被提问者采纳,从而获得C币。复制、灌水、广告等回答会被删除,是时候展现真正的技术了!