when trying to execute in explorer (max heap size 1GByte)
delete from LogEntry l
it comes up with a Java heap error after 20 minutes of executing.
How to empty such a table ?
when trying to execute in explorer (max heap size 1GByte)
delete from LogEntry l
it comes up with a Java heap error after 20 minutes of executing.
How to empty such a table ?
This may be because the transaction size is limited by the heap size.
You can try deleting these objects in batches, using several transactions, each transaction will delete the results of a query on the LogEntry instances that returns part of the LogEntry instances in the database.
Alternatively you may try using the undocumented setting of temporary page file, which increases the maximum transaction size above the heap size. See #10 in that issue thread for the requires setting. Accordingly you can try running the Explorer with this setting (-Dobjectdb.temp.page-file=true).