Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

'Too many files open' error. is there any limitation by JVM?

Status
Not open for further replies.

madhes

Programmer
Apr 16, 2001
18
US
Hi,
When I m opening a large number of files (approx 2040) and i m getting the following exception.

"java.io.FileNotFoundException: d:\temp\SortComponentFile2677.sort (Too many open files)"

I want to know, whether JVM puts any limitation on the number of files that can be opened? Is it documented? if so, can we increase the number?

[Note: I m able to open more than 25000 (yes, 25K) files using a C program.]

Thanks for any help...
Madhes
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top