当我从网站上下载大量的数据,我得到这个错误信息:安卓java.lang.OutOfMemoryError
I/global (20094): Default buffer size used in BufferedInputStream constructor.
It would be better to be explicit if an 8k buffer is required.
D/dalvikvm(20094): GC freed 6153 objects/3650840 bytes in 335ms
I/dalvikvm-heap(20094): Forcing collection of SoftReferences for 3599051-byte al
location
D/dalvikvm(20094): GC freed 320 objects/11400 bytes in 144ms
E/dalvikvm-heap(20094): Out of memory on a 3599051-byte allocation.
I/dalvikvm(20094): "Thread-9" prio=5 tid=17 RUNNABLE
I/dalvikvm(20094): | group="main" sCount=0 dsCount=0 s=0 obj=0x439b9480
I/dalvikvm(20094): | sysTid=25762 nice=0 sched=0/0 handle=4065496
任何人都可以帮我吗?
它耗尽内存,显然......你到底需要什么帮助? – flodin 2010-05-30 11:29:37
至少提供完整的堆栈跟踪和关于如何下载数据的一些上下文信息(请参阅错误消息说明BufferedInputStream) – 2010-05-30 13:11:36