[Mono-list] System.IO.FileStream exception: Too many open files

monolearner investmentnewstudent at gmail.com
Thu May 5 16:01:25 EDT 2011


Hi, 

The following code gives me this exception:

foreach ( FileStream fs in asm.GetFiles() )
{}

asm is Assembly. I am using C# and Mono JIT compiler version 2.4.2.2.

I tried "ulimit -n max-count", this does not help.

My co-workers do not get this exception, so I am thinking this is probably a
computer issue. 

Thanks.


--
View this message in context: http://mono.1490590.n4.nabble.com/System-IO-FileStream-exception-Too-many-open-files-tp3499328p3499328.html
Sent from the Mono - General mailing list archive at Nabble.com.


More information about the Mono-list mailing list