我的应用程序想要分配 2529792 字节,我在具有 128mb Ram 的设备上运行它并且它工作正常,然后我在具有 292mb Ram 的可用内存的 htc 上运行 ir,它给出了错误
01-14 21:08:27.972: E/GraphicsJNI(26585): VM 不允许我们分配 2529792 字节
这是我的 LogCat 输出
01-14 21:08:27.391: E/dalvikvm-heap(26585): 2529792-byte external allocation too large for this process.
01-14 21:08:27.411: E/dalvikvm(26585): Out of memory: Heap Size=17735KB, Allocated=14425KB, Bitmap Size=14641KB, Limit=32768KB
01-14 21:08:27.411: E/dalvikvm(26585): Trim info: Footprint=17735KB, Allowed Footprint=17735KB, Trimmed=668KB
01-14 21:08:27.512: E/GraphicsJNI(26585): VM won't let us allocate 2529792 bytes
01-14 21:08:27.512: D/dalvikvm(26585): GC_FOR_MALLOC freed 905K, 24% free 13520K/17735K, external 14641K/16689K, paused 93ms
01-14 21:08:27.652: D/dalvikvm(26585): GC_EXTERNAL_ALLOC freed 3K, 24% free 13552K/17735K, external 14641K/16689K, paused 116ms
01-14 21:08:27.662: D/skia(26585): --- decoder->decode returned false
01-14 21:08:27.792: D/dalvikvm(26585): GC_EXTERNAL_ALLOC freed 13K, 24% free 13655K/17735K, external 14641K/16689K, paused 109ms
01-14 21:08:27.872: E/dalvikvm-heap(26585): 2529792-byte external allocation too large for this process.
01-14 21:08:27.872: E/dalvikvm(26585): Out of memory: Heap Size=17735KB, Allocated=13655KB, Bitmap Size=14641KB, Limit=32768KB
01-14 21:08:27.872: E/dalvikvm(26585): Trim info: Footprint=17735KB, Allowed Footprint=17735KB, Trimmed=1408KB
01-14 21:08:27.972: E/GraphicsJNI(26585): VM won't let us allocate 2529792 bytes
01-14 21:08:27.972: D/dalvikvm(26585): GC_FOR_MALLOC freed 39K, 24% free 13615K/17735K, external 14641K/16689K, paused 96ms
01-14 21:08:28.092: D/dalvikvm(26585): GC_EXTERNAL_ALLOC freed 40K, 24% free 13579K/17735K, external 14641K/16689K, paused 102ms
01-14 21:08:28.212: D/dalvikvm(26585): GC_EXTERNAL_ALLOC freed 41K, 24% free 13574K/17735K, external 14641K/16689K, paused 103ms
01-14 21:08:28.212: W/dalvikvm(26585): threadid=17: thread exiting with uncaught exception (group=0x4001d5a0)
01-14 21:08:28.252: E/dalvikvm-heap(26585): 2529792-byte external allocation too large for this process.
01-14 21:08:28.252: E/dalvikvm(26585): Out of memory: Heap Size=17735KB, Allocated=13585KB, Bitmap Size=13902KB, Limit=32768KB
01-14 21:08:28.252: E/dalvikvm(26585): Trim info: Footprint=17735KB, Allowed Footprint=17735KB, Trimmed=1468KB
01-14 21:08:28.352: E/GraphicsJNI(26585): VM won't let us allocate 2529792 bytes
有谁能够帮我 ?谢谢