Re: Assertion failed - tried to dispose a non read-only transaction
Nick <[email protected]> Thu, 12 May 2005 16:12:12 +0200
| Newsgroups | gmane.comp.db.mckoi |
|---|---|
| Message-ID | <[email protected]> |
Hi Toby, Sorry it's taken me this long to get back to you - busy as hell at the moment. I haven't been able to devote much time to the problem as such, but have found that increasing the memory assigned to the JVM from its previous 64Mb to 100Mb eliminates the problem. All I can tell you at this stage is that the problem is very reproducible if I follow a certain pattern of queries/updates/inserts to my database, when running JVM assigned with 64Mb of RAM . What the queries are, I haven't been able to find out yet; the calls are made from an application. As soon as I can (no promises when :-) ) I'll email you a test case that reproduces the problem. Thanks, Nick Tobias Downer wrote: > Nick, > > I couldn't find this error in the debug.log you attached. Does this > happen on a specific query, or series of queries before a commit? Is > the problem reproducible? If it is, can you send me the queries that > reproduce the problem. Do you know if it happens when there is a > referential integrity constraint violation? > > Thanks, > Toby. > > Nick wrote: > >> Hi, >> >> After an attempted commit, the following was dumped by Mckoi to the >> standard output: >> >> java.lang.RuntimeException: Assertion failed - tried to dispose a non >> read-only\par >> transaction.\par >> at >> com.mckoi.database.Transaction.dispose(Transaction.java:2133)\par >> at >> com.mckoi.database.TableDataConglomerate.processCommit(TableDataCongl\par >> >> omerate.java:3001)\par >> at > > >> >> My entire transaction was lost - the equivalent of a rollback. I've >> included a copy of the debug.log. >> >> Any pointers/ideas? >> >> TIA, >> Nick > > > > > --------------------------------------------------------------- > Mckoi SQL Database mailing list http://www.mckoi.com/database/ > To unsubscribe, send a message to [email protected] > > --------------------------------------------------------------- Mckoi SQL Database mailing list http://www.mckoi.com/database/ To unsubscribe, send a message to [email protected]