Task #10245 (new)
BUG: Resource issues with OMERO.tables
|Reported by:||spli||Owned by:||spli|
Description (last modified by spli)
I've been seeing some strange behaviour with OMERO.tables when making a large number of calls to add data from OMERO.scripts. This includes scripts exiting due to a failure to communicate with the Tables service, the Tables service using 100% CPU even after all clients have disconnected, apparent out-of-memory errors with theTables service (manifested as an OS X "Problem Report for Python" dialog).
Further investigation suggets this is due to opening/closing a table too frequently. For instance, reusing a connection/handle to a table instead of opening and closing the table for every operation (read, addData) seems to work fine. Still a bug though.