jackrabbit-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Kisu San <Kishore....@gmail.com>
Subject Outof memory error while moving large binary data files
Date Tue, 18 Dec 2007 14:06:33 GMT

Dear All,

I am trying to load around 5 GB of files and images into nodes depends on
the business logic. 

I am getting following out of memory error

2007-12-18 11:22:18,218 DEBUG [com.tme.e2e.data.PublicationDao] - <Updating
repair/img/caption/a128775e01.xml into /publication/RM00S3E/userxml>
2007-12-18 11:22:20,624 ERROR
[org.apache.jackrabbit.core.persistence.db.DatabasePersistenceManager] -
<failed to write node state: e4fe1c59-2af6-474d-b4ba-d1426612935c>
java.lang.OutOfMemoryError
2007-12-18 11:22:20,624 WARN
[org.apache.jackrabbit.core.persistence.db.DatabasePersistenceManager] -
<storing changes failed, about to reconnect...>
java.lang.OutOfMemoryError
2007-12-18 11:22:37,812 ERROR
[org.apache.jackrabbit.core.persistence.db.DatabasePersistenceManager] -
<failed to re-establish connection>
java.lang.OutOfMemoryError
2007-12-18 11:22:39,468 WARN [uk.ltd.getahead.dwr.impl.ExecuteQuery] -
<Method execution failed: >
java.lang.RuntimeException: javax.jcr.query.InvalidQueryException
	at com.tme.e2e.data.JobDao.getJobsByTypeAndStatus(JobDao.java:93)
	at sun.reflect.GeneratedMethodAccessor74.invoke(Unknown Source)
	at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
	at java.lang.reflect.Method.invoke(Method.java:324)
	at
org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:287)
	at
org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:165)
	at $Proxy3.getJobsByTypeAndStatus(Unknown Source)
	at
com.tme.e2e.service.JobService.getJobsByTypeAndStatus(JobService.java:35)
	at sun.reflect.GeneratedMethodAccessor79.invoke(Unknown Source)
	at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
	at java.lang.reflect.Method.invoke(Method.java:324)

I am using Lucene  seach index and turn off the document order. Below is my
settings in repository settings

        <SearchIndex
class="org.apache.jackrabbit.core.query.lucene.SearchIndex">
            
            
            
        </SearchIndex>

And also saving session after each node been created. 


I am sure some one of would have seen this problem and over come. 

Help please.
-- 
View this message in context: http://www.nabble.com/Outof-memory-error-while-moving-large-binary-data-files-tp14397605p14397605.html
Sent from the Jackrabbit - Users mailing list archive at Nabble.com.


Mime
View raw message