net.ucanaccess.jdbc.UcanaccessSQLException

Java heap space

Samebug tips0

We couldn't find tips for this exception.

Don't give up yet. Paste your full stack trace to get a solution.

Solutions on the web3

  • Stack trace

    • net.ucanaccess.jdbc.UcanaccessSQLException: Java heap space at net.ucanaccess.jdbc.UcanaccessPreparedStatement.executeUpdate(UcanaccessPreparedStatement.java:261) at com.nassco.ecms.ECMSMirrorDb.copySubmittals(ECMSMirrorDb.java:1349) at com.nassco.ecms.ECMSMirrorDb.genMirrorDb(ECMSMirrorDb.java:290) at com.nassco.ecms.ECMSReporter.doReport(ECMSReporter.java:1572) at com.nassco.ecms.ReportRequestorThread.run(ReportRequestorThread.java:133) at com.nassco.ecms.ECMSReporter.processReportParm(ECMSReporter.java:864) at com.nassco.ecms.ECMSReporter.run(ECMSReporter.java:701) at java.lang.Thread.run(Unknown Source) Caused by: net.ucanaccess.jdbc.UcanaccessSQLException: Java heap space at net.ucanaccess.jdbc.UcanaccessConnection.commit(UcanaccessConnection.java:210) at net.ucanaccess.jdbc.AbstractExecute.executeBase(AbstractExecute.java:147) at net.ucanaccess.jdbc.ExecuteUpdate.execute(ExecuteUpdate.java:56) at net.ucanaccess.jdbc.UcanaccessPreparedStatement.executeUpdate(UcanaccessPreparedStatement.java:258) ... 7 more Caused by: net.ucanaccess.jdbc.UcanaccessSQLException: Java heap space at net.ucanaccess.jdbc.UcanaccessConnection.flushIO(UcanaccessConnection.java:344) at net.ucanaccess.jdbc.UcanaccessConnection.commit(UcanaccessConnection.java:203) ... 10 more Caused by: java.lang.OutOfMemoryError: Java heap space at com.healthmarketscience.jackcess.impl.ByteUtil.getBytes(ByteUtil.java:305) at com.healthmarketscience.jackcess.impl.IndexData$Entry.<init>(IndexData.java:1798) at com.healthmarketscience.jackcess.impl.IndexData$Entry.<init>(IndexData.java:1784) at com.healthmarketscience.jackcess.impl.IndexData$Entry.<init>(IndexData.java:1747) at com.healthmarketscience.jackcess.impl.IndexData.newEntry(IndexData.java:1126) at com.healthmarketscience.jackcess.impl.IndexData.readDataPage(IndexData.java:1083) at com.healthmarketscience.jackcess.impl.IndexPageCache.readDataPage(IndexPageCache.java:278) at com.healthmarketscience.jackcess.impl.IndexPageCache.access$700(IndexPageCache.java:49) at com.healthmarketscience.jackcess.impl.IndexPageCache$DataPageMain.getExtra(IndexPageCache.java:1262) at com.healthmarketscience.jackcess.impl.IndexPageCache$EntryListView.<init>(IndexPageCache.java:1454) at com.healthmarketscience.jackcess.impl.IndexPageCache$EntryListView.<init>(IndexPageCache.java:1444) at com.healthmarketscience.jackcess.impl.IndexPageCache$DataPageExtra.setEntryView(IndexPageCache.java:1313) at com.healthmarketscience.jackcess.impl.IndexPageCache$DataPageMain.setExtra(IndexPageCache.java:1271) at com.healthmarketscience.jackcess.impl.IndexPageCache.readDataPage(IndexPageCache.java:281) at com.healthmarketscience.jackcess.impl.IndexPageCache.access$700(IndexPageCache.java:49) at com.healthmarketscience.jackcess.impl.IndexPageCache$DataPageMain.getExtra(IndexPageCache.java:1262) at com.healthmarketscience.jackcess.impl.IndexPageCache$CacheDataPage.<init>(IndexPageCache.java:1342) at com.healthmarketscience.jackcess.impl.IndexPageCache$CacheDataPage.<init>(IndexPageCache.java:1335) at com.healthmarketscience.jackcess.impl.IndexPageCache.updateEntry(IndexPageCache.java:336) at com.healthmarketscience.jackcess.impl.IndexPageCache.addEntry(IndexPageCache.java:310) at com.healthmarketscience.jackcess.impl.IndexPageCache.access$1000(IndexPageCache.java:49) at com.healthmarketscience.jackcess.impl.IndexPageCache$CacheDataPage.addEntry(IndexPageCache.java:1430) at com.healthmarketscience.jackcess.impl.IndexData.commitAddRow(IndexData.java:614) at com.healthmarketscience.jackcess.impl.IndexData.access$4100(IndexData.java:58) at com.healthmarketscience.jackcess.impl.IndexData$AddRowPendingChange.commit(IndexData.java:2612) at com.healthmarketscience.jackcess.impl.IndexData.commitAll(IndexData.java:753) at com.healthmarketscience.jackcess.impl.TableImpl.addRows(TableImpl.java:1599) at com.healthmarketscience.jackcess.impl.TableImpl.addRow(TableImpl.java:1461) at net.ucanaccess.commands.InsertCommand.persist(InsertCommand.java:124) at net.ucanaccess.jdbc.UcanaccessConnection.flushIO(UcanaccessConnection.java:313) at net.ucanaccess.jdbc.UcanaccessConnection.commit(UcanaccessConnection.java:203) at net.ucanaccess.jdbc.AbstractExecute.executeBase(AbstractExecute.java:147)

    Write tip

    You have a different solution? A short tip here would help you and many other users who saw this issue last week.

    Users with the same issue

    We couldn't find other users who have seen this exception.