Hi all,
for few days i had the same problem when trying to export archive 
objects from fedora 3.3 and import them in a new instance. Both the GUI 
and the command line utilities throw a java heap space exception. 
Increasing the (global or the tomcat) java heap space had no effect.
Finally i decided to implement exporter and importer that simply invoke 
the API-M export() and ingest() methods respectively.

That worked nicely!!

Best.
Anouar.


On 11/09/2011 02:04 AM, Serhiy Polyakov wrote:
> Thanks. I am running Fedora 3.4.2 and just found the answer:
>
> https://wiki.duraspace.org/display/FCKB/mail/19991659
>
> It worked for me.
>
> Serhiy
>
> On Tue, Nov 8, 2011 at 6:33 PM, Benjamin Armintor<armin...@gmail.com>  wrote:
>> Serhiy-
>>   You have good timing: I'm working on a fix for
>> https://jira.duraspace.org/browse/FCREPO-944, and it will likely
>> address your problem as well.  If you're running 3.5 and you're brave,
>> you could try running a build from the issue branch at
>> https://github.com/fcrepo/fcrepo/tree/fcrepo-944.
>>
>> - Ben
>>
>> On Tue, Nov 8, 2011 at 7:24 PM, Serhiy Polyakov<sp0...@gmail.com>  wrote:
>>> Hello,
>>>
>>> I am trying to run
>>> fedora-export.sh
>>> with archive option
>>>
>>> It works alright with smaller objects but when scripts hits large
>>> objects (~5MB) I am getting:
>>>
>>> Exception in thread "main" java.lang.OutOfMemoryError: Java heap space
>>>
>>> My:
>>> JAVA_OPTS="-Xmx1024M -Xms1024M -XX:MaxPermSize=128M"
>>>
>>> Doubling the memory sizes parameters did not help, tripling caused
>>> refused connection error.
>>>
>>> I was able to export larger objects (one by one) with Fedora Web Admin.
>>>
>>> My server is Ubuntu 32-bit, physical memory 8GB.
>>>
>>> Suggestions on fixing command line export tool would help.
>>>
>>> Thanks,
>>> Serhiy
>>>
>>> ------------------------------------------------------------------------------
>>> RSA(R) Conference 2012
>>> Save $700 by Nov 18
>>> Register now
>>> http://p.sf.net/sfu/rsa-sfdev2dev1
>>> _______________________________________________
>>> Fedora-commons-users mailing list
>>> Fedora-commons-users@lists.sourceforge.net
>>> https://lists.sourceforge.net/lists/listinfo/fedora-commons-users
>>>
>> ------------------------------------------------------------------------------
>> RSA(R) Conference 2012
>> Save $700 by Nov 18
>> Register now
>> http://p.sf.net/sfu/rsa-sfdev2dev1
>> _______________________________________________
>> Fedora-commons-users mailing list
>> Fedora-commons-users@lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/fedora-commons-users
>>
> ------------------------------------------------------------------------------
> RSA(R) Conference 2012
> Save $700 by Nov 18
> Register now
> http://p.sf.net/sfu/rsa-sfdev2dev1
> _______________________________________________
> Fedora-commons-users mailing list
> Fedora-commons-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/fedora-commons-users


------------------------------------------------------------------------------
RSA(R) Conference 2012
Save $700 by Nov 18
Register now
http://p.sf.net/sfu/rsa-sfdev2dev1
_______________________________________________
Fedora-commons-users mailing list
Fedora-commons-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/fedora-commons-users

Reply via email to