I have come accross a problem when attempting to injest METS records using the client/bin/fedora-injest.sh tool.
Here is the command ./fedora-ingest.sh d /<path> info:fedora/fedora-system:METSFedoraExt-1.0 <server>:8080 <username> <password> http "" <content> Here is the error Exception in thread "main" java.lang.OutOfMemoryError: Java heap space at java.util.Arrays.copyOf(Arrays.java:2271) at java.io.ByteArrayOutputStream.toByteArray(ByteArrayOutputStream.java:178) at org.fcrepo.client.utility.ingest.AutoIngestor.ingestAndCommit(AutoIngestor.java:132) at org.fcrepo.client.utility.ingest.Ingest.oneFromFile(Ingest.java:52) at org.fcrepo.client.utility.ingest.Ingest.multiFromDirectory(Ingest.java:91) at org.fcrepo.client.utility.ingest.Ingest.multiFromDirectory(Ingest.java:82) at org.fcrepo.client.utility.ingest.Ingest.multiFromDirectory(Ingest.java:82) at org.fcrepo.client.utility.ingest.Ingest.multiFromDirectory(Ingest.java:82) at org.fcrepo.client.utility.ingest.Ingest.main(Ingest.java:523) Here is the (what I think) might be the problem, it seems that when the jre is attempting to access a shared object that doesn't exist. Strace output of relevant bits open("/usr/lib/jvm/jdk1.7.0_45/jre/lib/amd64/server/libjvm.so", O_RDONLY|O_CLOEXEC) = 3 read(3, "\177ELF\2\1\1\0\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0\0\221\36\0\0\0\0\0"..., 832) = 832 fstat(3, {st_mode=S_IFREG|0755, st_size=15141697, ...}) = 0 mmap(NULL, 15096456, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x7fb19bbee000 mprotect(0x7fb19c750000, 2097152, PROT_NONE) = 0 mmap(0x7fb19c950000, 798720, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0xb62000) = 0x7fb19c950000 mmap(0x7fb19ca13000, 264840, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x7fb19ca13000 close(3) = 0 open("/usr/lib/jvm/jdk1.7.0_45/jre/bin/../lib/amd64/jli/libm.so.6", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) open("/etc/ld.so.cache", O_RDONLY|O_CLOEXEC) = 3 fstat(3, {st_mode=S_IFREG|0644, st_size=21713, ...}) = 0 mmap(NULL, 21713, PROT_READ, MAP_PRIVATE, 3, 0) = 0x7fb19d666000 close(3) I am assuming a missing bit of error handling? I am using jdk1.7.0_45, any help is appreciated. ------------------------------------------------------------------------------ Sponsored by Intel(R) XDK Develop, test and display web and hybrid apps with a single code base. Download it for free now! http://pubads.g.doubleclick.net/gampad/clk?id=111408631&iu=/4140/ostg.clktrk _______________________________________________ Fedora-commons-users mailing list Fedora-commons-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/fedora-commons-users