[Archivesspace_Users_Group] Java Heap Space

Suda, Phillip J psuda1 at tulane.edu
Tue May 26 11:19:14 EDT 2015


Good morning all,

                 Running an Archon to Aspace migration on my mac. I keep getting a Java Heap Space error in the migration log. I have changed the heap space in the Archivesspace.sh, restarted Aspace, etc. I have even turned off the public and frontends to try to mitigate this problem. Anyone else have this happen?  Here is the log:

D, [2015-05-26T10:03:43.384000 #607] DEBUG -- : Server Error: Java heap space
D, [2015-05-26T10:03:43.387000 #607] DEBUG -- : ["org.jruby.RubyString.newString(RubyString.java:528)", "org.jruby.Ruby.newString(Ruby.java:3285)", "json.ext.Parser$ParserSession.parseString(Parser.java:1416)", "json.ext.Parser$ParserSession.parseObject(Parser.java:2020)", "json.ext.Parser$ParserSession.parseValue(Parser.java:666)", "json.ext.Parser$ParserSession.parseObject(Parser.java:2003)", "json.ext.Parser$ParserSession.parseStrict(Parser.java:2304)", "json.ext.Parser$ParserSession.parse(Parser.java:2606)", "json.ext.Parser.parse(Parser.java:251)", "json.ext.Parser$INVOKER$i$0$0$parse.call(Parser$INVOKER$i$0$0$parse.gen)", "org.jruby.runtime.callsite.CachingCallSite.call(CachingCallSite.java:134)", "rubyjit.JSON$$parse_833f3c9479bc22cf9cf7ca7ff084173789e16d5c.__file__(file:/private/var/folders/y4/nb_r8whx1bgcf4kgz1pfyncr0000gn/T/warbler6624775150747599921webroot/archon-migration.war/WEB-INF/lib/jruby-stdlib-complete-1.7.12.jar!/META-INF/jruby.home/lib/ruby/shared/json/common.rb:155)", "rubyjit.JSON$$parse_833f3c9479bc22cf9cf7ca7ff084173789e16d5c.__file__(file:/private/var/folders/y4/nb_r8whx1bgcf4kgz1pfyncr0000gn/T/warbler6624775150747599921webroot/archon-migration.war/WEB-INF/lib/jruby-stdlib-complete-1.7.12.jar!/META-INF/jruby.home/lib/ruby/shared/json/common.rb)", "org.jruby.ast.executable.AbstractScript.__file__(AbstractScript.java:42)", "org.jruby.internal.runtime.methods.JittedMethod.call(JittedMethod.java:181)", "org.jruby.internal.runtime.methods.DefaultMethod.call(DefaultMethod.java:201)", "org.jruby.internal.runtime.methods.WrapperMethod.call(WrapperMethod.java:58)", "org.jruby.runtime.callsite.CachingCallSite.call(CachingCallSite.java:168)", "rubyjit.Archon::HTTP$$get_json_51338a4943108ae90dbc5a689048173681f488e3.chained_0_rescue_1$RUBY$SYNTHETIC__file__(/private/var/folders/y4/nb_r8whx1bgcf4kgz1pfyncr0000gn/T/warbler6624775150747599921webroot/archon-migration.war/WEB-INF/app/lib/archon_client.rb:388)", "rubyjit.Archon::HTTP$$get_json_51338a4943108ae90dbc5a689048173681f488e3.__file__(/private/var/folders/y4/nb_r8whx1bgcf4kgz1pfyncr0000gn/T/warbler6624775150747599921webroot/archon-migration.war/WEB-INF/app/lib/archon_client.rb:387)", "rubyjit.Archon::HTTP$$get_json_51338a4943108ae90dbc5a689048173681f488e3.__file__(/private/var/folders/y4/nb_r8whx1bgcf4kgz1pfyncr0000gn/T/warbler6624775150747599921webroot/archon-migration.war/WEB-INF/app/lib/archon_client.rb)", "org.jruby.ast.executable.AbstractScript.__file__(AbstractScript.java:46)", "org.jruby.internal.runtime.methods.JittedMethod.call(JittedMethod.java:221)", "org.jruby.runtime.callsite.CachingCallSite.call(CachingCallSite.java:202)", "rubyjit.Archon::ArchonRecord$$each_22bcd5871c302a03e3f6aea3ab31b4836bb54eee.block_0$RUBY$__file__(/private/var/folders/y4/nb_r8whx1bgcf4kgz1pfyncr0000gn/T/warbler6624775150747599921webroot/archon-migration.war/WEB-INF/app/lib/archon_client.rb:115)", "rubyjit$Archon::ArchonRecord$$each_22bcd5871c302a03e3f6aea3ab31b4836bb54eee$block_0$RUBY$__file__.call(rubyjit$Archon::ArchonRecord$$each_22bcd5871c302a03e3f6aea3ab31b4836bb54eee$block_0$RUBY$__file__)", "org.jruby.runtime.CompiledBlock19.yieldSpecificInternal(CompiledBlock19.java:117)", "org.jruby.runtime.CompiledBlock19.yieldSpecific(CompiledBlock19.java:92)", "org.jruby.runtime.Block.yieldSpecific(Block.java:111)", "org.jruby.RubyKernel.loop(RubyKernel.java:1501)", "org.jruby.RubyKernel$INVOKER$s$0$0$loop.call(RubyKernel$INVOKER$s$0$0$loop.gen)", "org.jruby.runtime.callsite.CachingCallSite.callBlock(CachingCallSite.java:143)"]


Also, any tips on building a Jruby release of the migration tool?

Thanks,

Phil

Phillip Suda
Systems Librarian
Howard-Tilton Memorial Library
Tulane University
psuda1 at tulane.edu
504-865-5607

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lyralists.lyrasis.org/pipermail/archivesspace_users_group/attachments/20150526/18e19311/attachment.html>


More information about the Archivesspace_Users_Group mailing list