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
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
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
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
You don't have to call it yourself, but you can if you want to give it
a hint that right now would be a good time to clean up. Even then,
there is no guarantee it will do anything. Heres an example - say you
have an action game which does the minimum possible (but still some)
allocations during
On Aug 18, 5:56 pm, vanquisher sinner vanquisher.sin...@gmail.com
wrote:
For every application there seems to be a HeapWorker thread which does
all the GC.
The HeapWorker thread runs finalizers and occasionally releases empty
4K pages back to the system. The GC runs when an allocation bumps
No, you do not have to make calls to it. You are correct, the JVM does
that on its own.
Yusuf Saib
Android
·T· · ·Mobile· stick together
The views, opinions and statements in this email are those of the
author solely in their individual capacity, and do not necessarily
represent those of
For every application there seems to be a HeapWorker thread which does
all the GC.
On Tue, Aug 18, 2009 at 2:56 PM, Yusuf Saib (T-Mobile
USA)yusuf.s...@t-mobile.com wrote:
No, you do not have to make calls to it. You are correct, the JVM does
that on its own.
Yusuf Saib
Android
·T· ·
8 matches
Mail list logo