Кажется, что приложению не хватает памяти на линии:
postFormEntity = new UrlEncodedFormEntity (nameValuePairs);
* Кроме того, каков наилучший способ поместить наименьший объем памяти в кучу при извлечении файла с SD-карты?
picCRC = new BasicNameValuePair("crc", crc );
pic = new BasicNameValuePair("pic", postFile);
postFile = "";
nameValuePairs = new ArrayList<NameValuePair>(2);
nameValuePairs.add(picCRC);
picCRC = null;
nameValuePairs.add(pic);
pic = null;
System.gc();
postFormEntity = new UrlEncodedFormEntity(nameValuePairs);
request2.setEntity(postFormEntity);
result = httpclient.execute(request2, handler);