This post originated from an RSS feed registered with Java Buzz
by Fred Grott.
Original Post: TooManyFilesOpen-LinuxSolution
Feed Title: ShareMe Technologies LLC-The Mobile Future
Feed URL: http://www.jroller.com/shareme/feed/entries/rss
Feed Description: A Weblog about Java programming and digital convergence on mobile devices in such areas as P2P and collaborative technology.
Okay you have a nice Linux install to play with and just got that too many files open error in Eclipse. In terminal:
sudo gedit /etc/security/limits.conf
Replace gedit with your favorite editor, some will choose nano instead. This is from Debian, Ubuntu 8.0.4 to be exact. Next, create a blank like in the file and add this line:
* hard nofile 700000
Save the file. Now, due to opening and trying Eclipse without that setting you need one more step. Close Eclipse. Enter your home directory and delete the workspace folder. Now start Eclipse and you will have no too many file errors, problem solved.