Running out of file descriptors in native code. close(int filedes) not working?
0 posts in topic
Flat View  Flat View
TOPIC ACTIONS:
 

Posted By:   Vishnu_Ram
Posted On:   Thursday, October 4, 2001 05:11 AM

I have written a JNI wrapper around an existing c library. I have a single java process which keeps making library calls repeatedly.


After a few minutes or so, i get a segmentation fault. On further investigation, i found out that this is happening because of running out of file descriptors.


I am opening a file and then immediately closing it.


thanks
regards
vishnu

About | Sitemap | Contact