Don't like ads? PRO users don't see any ads ;-)
Guest

Untitled

By: a guest on May 1st, 2012  |  syntax: None  |  size: 0.46 KB  |  hits: 16  |  expires: Never
download  |  raw  |  embed  |  report abuse  |  print
Text below is selected. Please press Ctrl+C to copy to your clipboard. (⌘+C on Mac)
  1. A new error I never seen before in Android. Is there any Solution?
  2. 02-07 10:49:45.558: E/dalvikvm-gc(7184): Could not create 2617344-byte ashmem mark stack: Too many open files
  3.        
  4. InputStream is = null;
  5. try {
  6.     is = new FileInputStream(myFile);
  7.     // read stuff from is
  8. } finally {
  9.     if (is != null) {
  10.         try {
  11.             is.close();
  12.         } catch (IOException e) {
  13.             Log.w(LOG_TAG, "Exception raised when closing file", e);
  14.         }
  15.     }
  16. }