03-31-2012 02:58 AM
I have the following problem: if I try to create more than ~45 files protected with setControlledAccess, I get a "File system out of resources" error. This doesn't happen, if I omit the call to ExtendedFileConnection.setControlledAccess().
Here's how it happens:
All close() calls are done in finally blocks. And this all works without any problems, if I omit the call to ExtendedFileConnection.setControlledAccess(). If I keep that call, eventually, I'm out of file handles.
Note: this is actually a JS extension for a WebWorks app, but as it is written in Java, I think it's more relevant here.
04-02-2012 02:09 PM
Which BlackBerry Smartphone model and BlackBerry handheld software version are you testing on? You can find this under Options, About on the BlackBerry Smartphone. Can you post a sample that reproduces this issue here or in Issue Tracker?
04-06-2012 10:42 PM
I don't work there anymore, so don't have access to devices, but it was on OS 6. Re: the sample — is there anything unclear in my description?