Out of memory

error

Caused by: java.lang.OutOfMemoryError: pthread_create (1040KB stack) failed: Try again

mCompositeDisposable.clear();

OutOfMemoryError is the most common problem occured in android while especially dealing with bitmaps. This error is thrown by the Java Virtual Machine (JVM) when an object cannot be allocated due to lack of memory space and also, the garbage collector cannot free some space.



java.lang.OutOfMemoryError: Failed to allocate a 13624108 byte allocation with 12751208 free bytes and 12MB until OOM

你可能感兴趣的:(Out of memory)