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.

Regards
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


 Imran,

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








-- 
Daniel Drozdzewski

-- 


Sponsored Links


Other Threads

1. Timer problem

Hi all,

I am trying to work with Timer. My use case is
I am dynamically updating the Layout & after some delay i will be loading
the new updated layout. I put the Timer but it is not working correctly

this is the timer code

  timer.schedule(new TimerTask() {
            public void run() {
                //fourcellview();
                fourcellview("A","B","C","D");
            }
        }, 1000);
.
Right now it stays in the same for long time. As per explanation of the
method schedule the second param is in milisec. But it stays in same state
for long time.

thanks
satish

-- 

2. xls to sqllite

Hi all
Did any one tried export the table  into .xls file.
Using this .xls file, I planned to insert the data in sql lite
thanks

-- 

3. Question regarding Threads and Services

4. querying ContactsContract: How can I use smth like GROUP BY?

5. Are processes kept alive when nothing is being done?

6. Sending some data when requesting XML

7. changing the current date/time