jackrabbit-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Matt Goodwin (JIRA)" <j...@apache.org>
Subject [jira] Commented: (JCR-2902) Out of memory error when using VersionManager.restore on Oracle
Date Mon, 21 Feb 2011 18:35:38 GMT

    [ https://issues.apache.org/jira/browse/JCR-2902?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12997507#comment-12997507
] 

Matt Goodwin commented on JCR-2902:
-----------------------------------

Here is the stacktrace:

java.lang.OutOfMemoryError: Java heap space
        at oracle.jdbc.driver.OracleStatement.prepareAccessors(OracleStatement.java:809)
        at oracle.jdbc.driver.OracleStatement.execute_maybe_describe(OracleStatement.java:972)
        at oracle.jdbc.driver.T4CPreparedStatement.execute_maybe_describe(T4CPreparedStatement.java:535)
        at oracle.jdbc.driver.OracleStatement.doExecuteWithTimeout(OracleStatement.java:1051)
        at oracle.jdbc.driver.OraclePreparedStatement.executeInternal(OraclePreparedStatement.java:2984)
        at oracle.jdbc.driver.OraclePreparedStatement.execute(OraclePreparedStatement.java:3076)
        at org.apache.commons.dbcp.DelegatingPreparedStatement.execute(DelegatingPreparedStatement.java:169)
        at org.apache.commons.dbcp.DelegatingPreparedStatement.execute(DelegatingPreparedStatement.java:169)
        at org.apache.jackrabbit.core.util.db.ConnectionHelper.execute(ConnectionHelper.java:438)
        at org.apache.jackrabbit.core.util.db.ConnectionHelper.reallyExec(ConnectionHelper.java:359)
        at org.apache.jackrabbit.core.util.db.ConnectionHelper$3.call(ConnectionHelper.java:339)
        at org.apache.jackrabbit.core.util.db.ConnectionHelper$3.call(ConnectionHelper.java:335)
        at org.apache.jackrabbit.core.util.db.ConnectionHelper$RetryManager.doTry(ConnectionHelper.java:458)
        at org.apache.jackrabbit.core.util.db.ConnectionHelper.exec(ConnectionHelper.java:335)
        at org.apache.jackrabbit.core.persistence.pool.BundleDbPersistenceManager.loadBundle(BundleDbPersistenceManager.java:1020)
        at org.apache.jackrabbit.core.persistence.bundle.AbstractBundlePersistenceManager.getBundle(AbstractBundlePersistenceManager.j
va:654)
        at org.apache.jackrabbit.core.persistence.bundle.AbstractBundlePersistenceManager.exists(AbstractBundlePersistenceManager.java
473)
        at org.apache.jackrabbit.core.state.SharedItemStateManager.hasNonVirtualItemState(SharedItemStateManager.java:1768)
        at org.apache.jackrabbit.core.state.SharedItemStateManager.hasItemState(SharedItemStateManager.java:305)
        at org.apache.jackrabbit.core.version.VersionItemStateProvider.hasItemState(VersionItemStateProvider.java:140)
        at org.apache.jackrabbit.core.state.SharedItemStateManager.getItemState(SharedItemStateManager.java:273)
        at org.apache.jackrabbit.core.SearchManager$1.next(SearchManager.java:398)
        at org.apache.jackrabbit.core.SearchManager$1.next(SearchManager.java:383)
        at org.apache.jackrabbit.core.query.lucene.SearchIndex.updateNodes(SearchIndex.java:610)
        at org.apache.jackrabbit.core.SearchManager.onEvent(SearchManager.java:416)
        at org.apache.jackrabbit.core.observation.EventConsumer.consumeEvents(EventConsumer.java:248)
        at org.apache.jackrabbit.core.observation.ObservationDispatcher.dispatchEvents(ObservationDispatcher.java:214)
        at org.apache.jackrabbit.core.observation.EventStateCollection.dispatch(EventStateCollection.java:475)
        at org.apache.jackrabbit.core.observation.DelegatingObservationDispatcher.dispatch(DelegatingObservationDispatcher.java:127)
        at org.apache.jackrabbit.core.observation.DelegatingObservationDispatcher.dispatchEvents(DelegatingObservationDispatcher.java:
9)
        at org.apache.jackrabbit.core.observation.EventStateCollection.dispatch(EventStateCollection.java:475)
        at org.apache.jackrabbit.core.state.SharedItemStateManager.externalUpdate(SharedItemStateManager.java:1515)

> Out of memory error when using VersionManager.restore on Oracle
> ---------------------------------------------------------------
>
>                 Key: JCR-2902
>                 URL: https://issues.apache.org/jira/browse/JCR-2902
>             Project: Jackrabbit Content Repository
>          Issue Type: Bug
>          Components: jackrabbit-core
>    Affects Versions: 2.2.4
>            Reporter: Matt Goodwin
>
> When using oracle as a backend I'm getting an out of memory error when restoring around
40 nodes.  I don't get the out of memory exception when using the inMemory repository.

-- 
This message is automatically generated by JIRA.
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Mime
View raw message