HttpClient.execute throwing OutOfMemoryError

前端 未结 3 1116
醉话见心
醉话见心 2021-02-14 00:42

I\'ve an Android application that posting JSONObject as a entity by using ByteArrayEntity object. Here how it looks like:

post.setEntit         


        
3条回答
  •  难免孤独
    2021-02-14 01:31

    In case of java.lang.OutOfMemoryError it's likely that your application keeps references to objects which should be freed. Try to debug this application on this phone, not in emulator.

提交回复
热议问题