[android-developers] Re: Garbage Collection Infinit Loop: clamp GC FOR MALLOC Grow heap loop

2010-07-08 Thread TjerkW
I am still not 100% sure what caused it but i solved it as follows. I created a Service with a Handler. However that Handler was not in its own thread. So i had someting like: public class ImageUploadService extends IntentService { private Handler handler = new Handler() The service was not

[android-developers] Re: Garbage Collection Infinit Loop: clamp GC FOR MALLOC Grow heap loop

2010-07-07 Thread fadden
On Jul 6, 6:43 am, TjerkW tje...@gmail.com wrote: Basically this stops me from properly implementing a background file upload. Anybody has an idea what is going on here? Looks like the heap is full. What's taking up all that space? Is something catching and ignoring OOM? -- You received

[android-developers] Re: Garbage Collection Infinit Loop: clamp GC FOR MALLOC Grow heap loop

2010-07-06 Thread TjerkW
Basically this stops me from properly implementing a background file upload. Anybody has an idea what is going on here? On Jul 6, 12:02 pm, TjerkW tje...@gmail.com wrote: I have a Service which uploads a big file to a webserver. This works fine on the emulator (android 2.1). But if i run it

[android-developers] Re: Garbage Collection Infinit Loop: clamp GC FOR MALLOC Grow heap loop

2010-07-06 Thread sws-vinpa
TjerkW: I am wondering, are you using sockets for this type of application? I have run into a similar problem where a front-end application written on Android in Java connects through a socket to a back-end server (not a Service, in Android terms) written in C. During stress-testing, I killed