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.