I am working on a camera application. For first time if I capture image its working fine but if I take a picture again its throwing a error
ERROR/dalvikvm-heap(2398): 10077696-byte external allocation too large for this process." VM won't let us allocate 10077696 bytes" and finally"05-02 05:35:38.390: ERROR/AndroidRuntime(2398): FATAL EXCEPTION: main 05-02 05:35:38.390: ERROR/AndroidRuntime(2398): java.lang.OutOfMemoryError: bitmap size exceeds VM budget
and application force closes..how to handle this how to clear heap and vm? please help.. Thanks in advance..