Application crashes when downloding long data in from server and in loop.............

by imran ali » Fri, 20 May 2011 19:22:33 GMT

Sponsored Links
 Hi all
I have been using AsyncTask<Context, Integer, String> to download data
from server,
in between it has been crashing with message in DDMS.
05-20 16:37:11.656: DEBUG/Zygote(33): Process 9489 terminated by
signal (11)

can any one has idea, what would be solution, i am downloading big
size of data approx 10MB of text.

Imran ali


Re: Application crashes when downloding long data in from server and in loop.............

by Daniel Drozdzewski » Fri, 20 May 2011 19:36:04 GMT


Any debug info?
Listing of your doInBackground() perhaps?

Are you saving the whole 10MB of text into memory or do you save it to
a file via some buffer?


Daniel Drozdzewski


Sponsored Links

Other Threads

1. Memory usage query.

Hi Experts,

I need your help to know what can be the equivalent of following
memory usage scenarios for any given android application

Section                                     Memory (Bytes)

(i) Code                                ->          i guess this equals apk
(ii) RO (constant data) ->
(iii) RW (Initialised section)  ->
(iv) ZI (Zero initialised section) ->
(v) Run time (Heap)             ->
(vi) Stack usage                        ->
(vi) Size of maximum allocation ->

I await your response . Thanks in advance.

2. problem occur while writing android.provider.Setting s.Secu颅re.ENABLED_INPUT_METHODS

That's right, unless you are signed with the platform certificate, you can't
write there.  That is why they are secure. ;)

Dianne Hackborn
Android framework engineer

Note: please don't send private questions to me, as I don't have time to
provide private support.  All such questions should be posted on public
forums, where I and others can see and answer them.


3. Updated Android Market Developer Distribution Agreement?

4. screenshot for scrolling display

5. Infinite Error: I fixed "Failed to find an AVD compatible", only to get "ERROR: unknown virtual device name"

6. WebView "visited" links

7. Cheap sell nike,adidas,AFI,max,Jordan,bape,Timberland, sandal etc