Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

com.android.ddmlib.SyncException: Too many open files

Tags:

file

android

When I attempt to run my application in Eclipse on my device, I've started getting alot of com.android.ddmlib.SyncException: Too many open files exceptions/errors in the console.

Why is this and what does it mean? What can I do to stop this?

like image 510
Kurru Avatar asked Mar 18 '11 15:03

Kurru


3 Answers

Switch DEBUG USB off and on again. It works for me. It seems to be some sort of problem with USB sync when debuggin in my device.

Hope it helps!

like image 113
Dani bISHOP Avatar answered Oct 08 '22 20:10

Dani bISHOP


Essentially, that means you have a memory problem. More than likely it is a leak.

First restart your phone and verify you are still getting the error. If so you are going to need to start digging in your code and find out where you are leaking!

Need more help? Post some code!

like image 22
user432209 Avatar answered Oct 08 '22 20:10

user432209


When you install and test your application many times on a phone, you may get this error message.

Unplug the phone from the USB cable and then plug it in again.

like image 27
Lumis Avatar answered Oct 08 '22 22:10

Lumis