[MAGNOLIA-5917] Out of memory error during installation Created: 15/Sep/14  Updated: 07/Jun/18  Resolved: 07/Jun/18

Status: Closed
Project: Magnolia
Component/s: core
Affects Version/s: 5.3.3
Fix Version/s: None

Type: Bug Priority: Major
Reporter: Andreas Weder Assignee: Unassigned
Resolution: Obsolete Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified
Environment:

OS X 10.9.4
Java 1.7.0_67


Attachments: PNG File 3rd run - author block.png     PNG File 3rd run - public block.png     JPEG File 5.3.3-ee-concurrentInstall.jpg     PNG File Low memory warning.png     PNG File Mem usage is ok.png     PNG File VM settings.png    
Template:
Acceptance criteria:
Empty
Task DoD:
[ ]* Doc/release notes changes? Comment present?
[ ]* Downstream builds green?
[ ]* Solution information and context easily available?
[ ]* Tests
[ ]* FixVersion filled and not yet released
[ ]  Architecture Decision Record (ADR)
Bug DoR:
[ ]* Steps to reproduce, expected, and actual results filled
[ ]* Affected version filled
Date of First Response:

 Description   

I just downloaded 5.3.3 and ran the installer (both author and public at the same time). The installation has stopped with an OutOfMemoryError. Here's the beginnings of these in my log - please note that this may be author and public installation logs intertwined:

 
2014-09-15 13:56:08,223 WARN  info.magnolia.importexport.BootstrapUtil          : Deleted already existing node for bootstrapping: /modules/standard-templating-kit/config/themes/pop
2014-09-15 13:56:08,284 WARN  info.magnolia.importexport.BootstrapUtil          : Deleted already existing node for bootstrapping: /modules/standard-templating-kit/config/themes/pop-mobile
2014-09-15 13:56:10,653 WARN  nolia.cms.security.RepositoryBackedSecurityManager: Invalid group requested: editors
2014-09-15 13:56:41,291 WARN  nolia.cms.security.RepositoryBackedSecurityManager: Invalid group requested: editors
2014-09-15 13:56:52,506 INFO  fo.magnolia.objectfactory.ObservedComponentFactory: Re-loaded info.magnolia.cms.exchange.ActivationManager from /server/activation
2014-09-15 13:56:59,944 INFO  nfo.magnolia.enterprise.beans.config.VersionConfig: Loading version config from /server/version...
Exception in thread "http-bio-8080-exec-3" java.lang.OutOfMemoryError: GC overhead limit exceeded
	at freemarker.core.TextBlock.substring(TextBlock.java:393)
	at freemarker.core.TextBlock.postParseCleanup(TextBlock.java:133)
	at freemarker.core.TemplateElement.postParseCleanup(TemplateElement.java:233)
	at freemarker.core.MixedContent.postParseCleanup(MixedContent.java:76)
	at freemarker.core.FMParser.Root(FMParser.java:2961)
	at freemarker.template.Template.<init>(Template.java:149)
	at freemarker.cache.TemplateCache.loadTemplate(TemplateCache.java:457)
	at freemarker.cache.TemplateCache.getTemplate(TemplateCache.java:370)
	at freemarker.cache.TemplateCache.getTemplate(TemplateCache.java:238)
	at freemarker.template.Configuration.getTemplate(Configuration.java:493)
	at freemarker.core.Environment.getTemplateForInclusion(Environment.java:1490)
	at freemarker.core.Include.accept(Include.java:157)
	at freemarker.core.Environment.visit(Environment.java:221)
	at freemarker.core.MixedContent.accept(MixedContent.java:92)
	at freemarker.core.Environment.visit(Environment.java:221)
	at freemarker.core.Environment.process(Environment.java:199)
	at freemarker.template.Template.process(Template.java:237)
	at info.magnolia.freemarker.FreemarkerHelper.render(FreemarkerHelper.java:153)
	at info.magnolia.freemarker.FreemarkerHelper.render(FreemarkerHelper.java:135)
	at info.magnolia.module.ui.ModuleManagerWebUI.render(ModuleManagerWebUI.java:157)
	at info.magnolia.module.ui.ModuleManagerWebUI.execute(ModuleManagerWebUI.java:97)
	at info.magnolia.cms.filters.InstallFilter.doFilter(InstallFilter.java:98)
	at info.magnolia.cms.filters.AbstractMgnlFilter.doFilter(AbstractMgnlFilter.java:89)
	at info.magnolia.cms.filters.MgnlFilterChain.doFilter(MgnlFilterChain.java:80)
	at info.magnolia.cms.filters.MgnlFilterChain.doFilter(MgnlFilterChain.java:82)
	at info.magnolia.cms.filters.CompositeFilter.doFilter(CompositeFilter.java:65)
	at info.magnolia.cms.filters.AbstractMgnlFilter.doFilter(AbstractMgnlFilter.java:89)
	at info.magnolia.cms.filters.SafeDestroyMgnlFilterWrapper.doFilter(SafeDestroyMgnlFilterWrapper.java:106)
	at info.magnolia.cms.filters.MgnlFilterDispatcher.doDispatch(MgnlFilterDispatcher.java:66)
	at info.magnolia.cms.filters.MgnlMainFilter.doFilter(MgnlMainFilter.java:107)
	at info.magnolia.cms.filters.MgnlMainFilter.doFilter(MgnlMainFilter.java:93)
	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243)
Exception in thread "DynamicPooledExecutor" java.lang.OutOfMemoryError: GC overhead limit exceeded
	at java.util.LinkedHashMap.createEntry(LinkedHashMap.java:442)
	at java.util.HashMap.addEntry(HashMap.java:884)
	at java.util.LinkedHashMap.addEntry(LinkedHashMap.java:427)
	at java.util.HashMap.put(HashMap.java:505)
	at org.apache.lucene.util.AttributeSource.addAttributeImpl(AttributeSource.java:256)
	at org.apache.lucene.util.AttributeSource.addAttribute(AttributeSource.java:276)
	at org.apache.lucene.index.DocInverterPerField.processFields(DocInverterPerField.java:146)
	at org.apache.lucene.index.DocFieldProcessorPerThread.processDocument(DocFieldProcessorPerThread.java:276)
	at org.apache.lucene.index.DocumentsWriter.updateDocument(DocumentsWriter.java:766)
	at org.apache.lucene.index.IndexWriter.addDocument(IndexWriter.java:2060)
	at org.apache.lucene.index.IndexWriter.addDocument(IndexWriter.java:2034)
	at org.apache.jackrabbit.core.query.lucene.AbstractIndex$1.run(AbstractIndex.java:198)
	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
	at java.lang.Thread.run(Thread.java:745)
Exception in thread "DynamicPooledExecutor" java.lang.OutOfMemoryError: GC overhead limit exceeded
	at org.apache.lucene.util.UnicodeUtil.UTF16toUTF8(UnicodeUtil.java:383)
	at org.apache.lucene.store.DataOutput.writeString(DataOutput.java:112)
	at org.apache.lucene.index.FieldsWriter.writeField(FieldsWriter.java:212)
	at org.apache.lucene.index.StoredFieldsWriterPerThread.addField(StoredFieldsWriterPerThread.java:58)
	at org.apache.lucene.index.DocFieldProcessorPerThread.processDocument(DocFieldProcessorPerThread.java:263)
	at org.apache.lucene.index.DocumentsWriter.updateDocument(DocumentsWriter.java:766)
	at org.apache.lucene.index.IndexWriter.addDocument(IndexWriter.java:2060)
	at org.apache.lucene.index.IndexWriter.addDocument(IndexWriter.java:2034)
	at org.apache.jackrabbit.core.query.lucene.AbstractIndex$1.run(AbstractIndex.java:198)
	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
	at java.lang.Thread.run(Thread.java:745)
Exception in thread "DynamicPooledExecutor" java.lang.OutOfMemoryError: GC overhead limit exceeded
Exception in thread "jackrabbit-pool-4" java.lang.OutOfMemoryError: GC overhead limit exceeded
2014-09-15 13:58:43,586 ERROR info.magnolia.module.ui.ModuleManagerWebUI        : Could not perform installation: GC overhead limit exceeded
java.lang.OutOfMemoryError: GC overhead limit exceeded
	at org.apache.jackrabbit.spi.commons.name.PathFactoryImpl.create(PathFactoryImpl.java:130)
	at org.apache.jackrabbit.spi.commons.name.PathBuilder.addFirst(PathBuilder.java:119)
	at org.apache.jackrabbit.core.CachingHierarchyManager.buildPath(CachingHierarchyManager.java:204)
	at org.apache.jackrabbit.core.HierarchyManagerImpl.buildPath(HierarchyManagerImpl.java:287)
	at org.apache.jackrabbit.core.CachingHierarchyManager.buildPath(CachingHierarchyManager.java:215)
	at org.apache.jackrabbit.core.HierarchyManagerImpl.buildPath(HierarchyManagerImpl.java:287)
	at org.apache.jackrabbit.core.CachingHierarchyManager.buildPath(CachingHierarchyManager.java:215)
	at org.apache.jackrabbit.core.HierarchyManagerImpl.buildPath(HierarchyManagerImpl.java:287)
	at org.apache.jackrabbit.core.CachingHierarchyManager.buildPath(CachingHierarchyManager.java:215)
	at org.apache.jackrabbit.core.HierarchyManagerImpl.buildPath(HierarchyManagerImpl.java:287)
	at org.apache.jackrabbit.core.CachingHierarchyManager.buildPath(CachingHierarchyManager.java:215)
	at org.apache.jackrabbit.core.HierarchyManagerImpl.getPath(HierarchyManagerImpl.java:402)
	at org.apache.jackrabbit.core.CachingHierarchyManager.getPath(CachingHierarchyManager.java:249)
	at org.apache.jackrabbit.core.observation.EventStateCollection.getPath(EventStateCollection.java:678)
	at org.apache.jackrabbit.core.observation.EventStateCollection.createEventStates(EventStateCollection.java:435)
	at org.apache.jackrabbit.core.state.SharedItemStateManager$Update.begin(SharedItemStateManager.java:747)
	at org.apache.jackrabbit.core.state.SharedItemStateManager.beginUpdate(SharedItemStateManager.java:1507)
	at org.apache.jackrabbit.core.state.SharedItemStateManager.update(SharedItemStateManager.java:1537)
	at org.apache.jackrabbit.core.state.LocalItemStateManager.update(LocalItemStateManager.java:400)
	at org.apache.jackrabbit.core.state.XAItemStateManager.update(XAItemStateManager.java:354)
	at org.apache.jackrabbit.core.state.LocalItemStateManager.update(LocalItemStateManager.java:375)
	at org.apache.jackrabbit.core.state.SessionItemStateManager.update(SessionItemStateManager.java:275)
	at org.apache.jackrabbit.core.ItemSaveOperation.perform(ItemSaveOperation.java:258)
	at org.apache.jackrabbit.core.session.SessionState.perform(SessionState.java:216)
	at org.apache.jackrabbit.core.ItemImpl.perform(ItemImpl.java:91)
	at org.apache.jackrabbit.core.ItemImpl.save(ItemImpl.java:329)
	at org.apache.jackrabbit.core.session.SessionSaveOperation.perform(SessionSaveOperation.java:65)
	at org.apache.jackrabbit.core.session.SessionState.perform(SessionState.java:216)
	at org.apache.jackrabbit.core.SessionImpl.perform(SessionImpl.java:361)
	at org.apache.jackrabbit.core.SessionImpl.save(SessionImpl.java:812)
	at info.magnolia.jcr.wrapper.DelegateSessionWrapper.save(DelegateSessionWrapper.java:297)
	at info.magnolia.jcr.wrapper.DelegateSessionWrapper.save(DelegateSessionWrapper.java:297)
2014-09-15 13:58:43,590 ERROR info.magnolia.module.InstallContextImpl           : > Could not perform installation: GC overhead limit exceeded
java.lang.OutOfMemoryError: GC overhead limit exceeded
	at org.apache.jackrabbit.spi.commons.name.PathFactoryImpl.create(PathFactoryImpl.java:130)
	at org.apache.jackrabbit.spi.commons.name.PathBuilder.addFirst(PathBuilder.java:119)
	at org.apache.jackrabbit.core.CachingHierarchyManager.buildPath(CachingHierarchyManager.java:204)
	at org.apache.jackrabbit.core.HierarchyManagerImpl.buildPath(HierarchyManagerImpl.java:287)
	at org.apache.jackrabbit.core.CachingHierarchyManager.buildPath(CachingHierarchyManager.java:215)
	at org.apache.jackrabbit.core.HierarchyManagerImpl.buildPath(HierarchyManagerImpl.java:287)
	at org.apache.jackrabbit.core.CachingHierarchyManager.buildPath(CachingHierarchyManager.java:215)
	at org.apache.jackrabbit.core.HierarchyManagerImpl.buildPath(HierarchyManagerImpl.java:287)
	at org.apache.jackrabbit.core.CachingHierarchyManager.buildPath(CachingHierarchyManager.java:215)
	at org.apache.jackrabbit.core.HierarchyManagerImpl.buildPath(HierarchyManagerImpl.java:287)
	at org.apache.jackrabbit.core.CachingHierarchyManager.buildPath(CachingHierarchyManager.java:215)
	at org.apache.jackrabbit.core.HierarchyManagerImpl.getPath(HierarchyManagerImpl.java:402)
	at org.apache.jackrabbit.core.CachingHierarchyManager.getPath(CachingHierarchyManager.java:249)
	at org.apache.jackrabbit.core.observation.EventStateCollection.getPath(EventStateCollection.java:678)
	at org.apache.jackrabbit.core.observation.EventStateCollection.createEventStates(EventStateCollection.java:435)
	at org.apache.jackrabbit.core.state.SharedItemStateManager$Update.begin(SharedItemStateManager.java:747)
	at org.apache.jackrabbit.core.state.SharedItemStateManager.beginUpdate(SharedItemStateManager.java:1507)
	at org.apache.jackrabbit.core.state.SharedItemStateManager.update(SharedItemStateManager.java:1537)
	at org.apache.jackrabbit.core.state.LocalItemStateManager.update(LocalItemStateManager.java:400)
	at org.apache.jackrabbit.core.state.XAItemStateManager.update(XAItemStateManager.java:354)
	at org.apache.jackrabbit.core.state.LocalItemStateManager.update(LocalItemStateManager.java:375)
	at org.apache.jackrabbit.core.state.SessionItemStateManager.update(SessionItemStateManager.java:275)
	at org.apache.jackrabbit.core.ItemSaveOperation.perform(ItemSaveOperation.java:258)
	at org.apache.jackrabbit.core.session.SessionState.perform(SessionState.java:216)
	at org.apache.jackrabbit.core.ItemImpl.perform(ItemImpl.java:91)
	at org.apache.jackrabbit.core.ItemImpl.save(ItemImpl.java:329)
	at org.apache.jackrabbit.core.session.SessionSaveOperation.perform(SessionSaveOperation.java:65)
	at org.apache.jackrabbit.core.session.SessionState.perform(SessionState.java:216)
	at org.apache.jackrabbit.core.SessionImpl.perform(SessionImpl.java:361)
	at org.apache.jackrabbit.core.SessionImpl.save(SessionImpl.java:812)
	at info.magnolia.jcr.wrapper.DelegateSessionWrapper.save(DelegateSessionWrapper.java:297)
	at info.magnolia.jcr.wrapper.DelegateSessionWrapper.save(DelegateSessionWrapper.java:297)
2014-09-15 13:58:43,624 ERROR .jackrabbit.core.observation.ObservationDispatcher: Synchronous EventConsumer threw exception.
java.lang.OutOfMemoryError: GC overhead limit exceeded
2014-09-15 14:18:06,363 WARN  org.apache.jackrabbit.core.SessionImpl            : Unclosed session detected. The session was opened here: 
java.lang.Exception: Stack Trace
	at org.apache.jackrabbit.core.SessionImpl.<init>(SessionImpl.java:222)
	at org.apache.jackrabbit.core.SessionImpl.<init>(SessionImpl.java:239)
	at org.apache.jackrabbit.core.XASessionImpl.<init>(XASessionImpl.java:101)
	at org.apache.jackrabbit.core.RepositoryImpl.createSessionInstance(RepositoryImpl.java:1613)
	at org.apache.jackrabbit.core.RepositoryImpl.createSession(RepositoryImpl.java:956)
	at org.apache.jackrabbit.core.RepositoryImpl.login(RepositoryImpl.java:1501)
	at org.apache.jackrabbit.core.jndi.BindableRepository.login(BindableRepository.java:162)
	at info.magnolia.jackrabbit.ProviderImpl.getSystemSession(ProviderImpl.java:527)
	at info.magnolia.repository.DefaultRepositoryManager.getSystemSession(DefaultRepositoryManager.java:242)
	at info.magnolia.context.SystemRepositoryStrategy.internalGetSession(SystemRepositoryStrategy.java:54)
	at info.magnolia.context.AbstractRepositoryStrategy.getSession(AbstractRepositoryStrategy.java:74)
	at info.magnolia.context.AbstractContext.getJCRSession(AbstractContext.java:132)
	at info.magnolia.module.InstallContextImpl.getJCRSession(InstallContextImpl.java:163)
	at info.magnolia.module.delta.NoSameNameSiblingsCondition.check(NoSameNameSiblingsCondition.java:88)
	at info.magnolia.module.ModuleManagerImpl.performInstallOrUpdate(ModuleManagerImpl.java:253)
	at info.magnolia.module.ui.ModuleManagerWebUI$2.run(ModuleManagerWebUI.java:124)
	at java.lang.Thread.run(Thread.java:745)


 Comments   
Comment by Andreas Weder [ 15/Sep/14 ]

I've just done another round and have something to add here.

This time, I first ran the installation on author, which went through fine. When running the installer on public, the installation stalled at task 476 (I think, not sure... but it was in the 400s).

Then, after some seconds of seemingly no activity, installation resumed with this exception:

2014-09-15 14:37:08,077 INFO  fo.magnolia.module.delta.PathExistenceDelegateTask: Expected path '/modules/multisite/config/sites/default/templates/availability/templates/stkForum' to not exist but it did. Not executing task.
2014-09-15 14:37:08,078 INFO  fo.magnolia.module.delta.PathExistenceDelegateTask: Expected path '/modules/multisite/config/sites/default/templates/prototype/areas/bodyBeginScripts' to not exist but it did. Not executing task.
2014-09-15 14:37:08,078 INFO  fo.magnolia.module.delta.PathExistenceDelegateTask: Expected path '/modules/multisite/config/sites/default/templates/prototype/areas/bodyEndScripts' to not exist but it did. Not executing task.
2014-09-15 14:37:08,078 INFO  fo.magnolia.module.delta.PathExistenceDelegateTask: Expected path '/modules/multisite/config/sites/default/templates/prototype/areas/headerScripts' to not exist but it did. Not executing task.
2014-09-15 14:37:09,103 WARN  info.magnolia.importexport.BootstrapUtil          : Deleted already existing node for bootstrapping: /modules/standard-templating-kit/config/themes/pop
2014-09-15 14:37:09,151 WARN  info.magnolia.importexport.BootstrapUtil          : Deleted already existing node for bootstrapping: /modules/standard-templating-kit/config/themes/pop-mobile
2014-09-15 14:37:15,576 WARN  nolia.cms.security.RepositoryBackedSecurityManager: Invalid group requested: editors
Exception in thread "jackrabbit-pool-8" java.lang.OutOfMemoryError: GC overhead limit exceeded
	at java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject.addConditionWaiter(AbstractQueuedSynchronizer.java:1857)
	at java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject.await(AbstractQueuedSynchronizer.java:2039)
	at java.util.concurrent.ScheduledThreadPoolExecutor$DelayedWorkQueue.take(ScheduledThreadPoolExecutor.java:1085)
	at java.util.concurrent.ScheduledThreadPoolExecutor$DelayedWorkQueue.take(ScheduledThreadPoolExecutor.java:807)
	at java.util.concurrent.ThreadPoolExecutor.getTask(ThreadPoolExecutor.java:1068)
	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1130)
	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
	at java.lang.Thread.run(Thread.java:745)
2014-09-15 14:38:20,504 ERROR .jackrabbit.core.observation.ObservationDispatcher: Synchronous EventConsumer threw exception.
java.lang.OutOfMemoryError: GC overhead limit exceeded
	at java.util.regex.Matcher.<init>(Matcher.java:224)
	at java.util.regex.Pattern.matcher(Pattern.java:1088)
	at org.apache.jackrabbit.spi.commons.name.Pattern$RegexPattern.matches(Pattern.java:488)
	at org.apache.jackrabbit.spi.commons.name.Pattern$AbstractNamePattern.match(Pattern.java:437)
	at org.apache.jackrabbit.spi.commons.name.Pattern.match(Pattern.java:44)
	at org.apache.jackrabbit.core.query.lucene.IndexingConfigurationImpl$NamePattern.matches(IndexingConfigurationImpl.java:643)
	at org.apache.jackrabbit.core.query.lucene.IndexingConfigurationImpl$IndexingRule.getConfig(IndexingConfigurationImpl.java:817)
	at org.apache.jackrabbit.core.query.lucene.IndexingConfigurationImpl$IndexingRule.isIndexed(IndexingConfigurationImpl.java:738)
	at org.apache.jackrabbit.core.query.lucene.IndexingConfigurationImpl.isIndexed(IndexingConfigurationImpl.java:217)
	at org.apache.jackrabbit.core.query.lucene.NodeIndexer.isIndexed(NodeIndexer.java:887)
	at org.apache.jackrabbit.core.query.lucene.NodeIndexer.createDoc(NodeIndexer.java:256)
	at org.apache.jackrabbit.core.query.lucene.SearchIndex.createDocument(SearchIndex.java:1246)
	at org.apache.jackrabbit.core.query.lucene.SearchIndex.updateNodes(SearchIndex.java:667)
	at org.apache.jackrabbit.core.SearchManager.onEvent(SearchManager.java:408)
	at org.apache.jackrabbit.core.observation.EventConsumer.consumeEvents(EventConsumer.java:249)
	at org.apache.jackrabbit.core.observation.ObservationDispatcher.dispatchEvents(ObservationDispatcher.java:225)
	at org.apache.jackrabbit.core.observation.EventStateCollection.dispatch(EventStateCollection.java:475)
	at org.apache.jackrabbit.core.state.SharedItemStateManager$Update.end(SharedItemStateManager.java:856)
	at org.apache.jackrabbit.core.state.SharedItemStateManager.update(SharedItemStateManager.java:1537)
	at org.apache.jackrabbit.core.state.LocalItemStateManager.update(LocalItemStateManager.java:400)
	at org.apache.jackrabbit.core.state.XAItemStateManager.update(XAItemStateManager.java:354)
	at org.apache.jackrabbit.core.state.LocalItemStateManager.update(LocalItemStateManager.java:375)
	at org.apache.jackrabbit.core.state.SessionItemStateManager.update(SessionItemStateManager.java:275)
	at org.apache.jackrabbit.core.ItemSaveOperation.perform(ItemSaveOperation.java:258)
	at org.apache.jackrabbit.core.session.SessionState.perform(SessionState.java:216)
	at org.apache.jackrabbit.core.ItemImpl.perform(ItemImpl.java:91)
	at org.apache.jackrabbit.core.ItemImpl.save(ItemImpl.java:329)
	at org.apache.jackrabbit.core.session.SessionSaveOperation.perform(SessionSaveOperation.java:65)
	at org.apache.jackrabbit.core.session.SessionState.perform(SessionState.java:216)
	at org.apache.jackrabbit.core.SessionImpl.perform(SessionImpl.java:361)
	at org.apache.jackrabbit.core.SessionImpl.save(SessionImpl.java:812)
	at info.magnolia.jcr.wrapper.DelegateSessionWrapper.save(DelegateSessionWrapper.java:297)
2014-09-15 14:38:25,806 INFO  nfo.magnolia.enterprise.beans.config.VersionConfig: Loading version config from /server/version...
2014-09-15 14:38:30,263 INFO  info.magnolia.importexport.Bootstrapper           : Trying to initialize repositories from: 
    /Users/weder/Projects/Builds/magnolia-enterprise-5.3.3/apache-tomcat-7.0.47/webapps/magnoliaPublic/WEB-INF/bootstrap/public
    /Users/weder/Projects/Builds/magnolia-enterprise-5.3.3/apache-tomcat-7.0.47/webapps/magnoliaPublic/WEB-INF/bootstrap/common
2014-09-15 14:38:30,264 INFO  info.magnolia.importexport.Bootstrapper           : Repository [dam] has been initialized.
2014-09-15 14:38:30,265 INFO  info.magnolia.importexport.Bootstrapper           : Repository [forum] has been initialized.
2014-09-15 14:38:30,267 INFO  info.magnolia.importexport.Bootstrapper           : Repository [contacts] has been initialized.
2014-09-15 14:38:30,267 INFO  info.magnolia.importexport.Bootstrapper           : Repository [usergroups] has been initialized.
2014-09-15 14:38:30,268 INFO  info.magnolia.importexport.Bootstrapper           : Repository [templates] has been initialized.
2014-09-15 14:38:30,268 INFO  info.magnolia.importexport.Bootstrapper           : Repository [mgnlSystem] has been initialized.
2014-09-15 14:38:30,269 INFO  info.magnolia.importexport.Bootstrapper           : Repository [scripts] has been initialized.
2014-09-15 14:38:30,270 INFO  info.magnolia.importexport.Bootstrapper           : Repository [mgnlVersion] has been initialized.
2014-09-15 14:38:30,270 INFO  info.magnolia.importexport.Bootstrapper           : Repository [website] has been initialized.
2014-09-15 14:38:30,271 INFO  info.magnolia.importexport.Bootstrapper           : Repository [userroles] has been initialized.
2014-09-15 14:38:30,271 INFO  info.magnolia.importexport.Bootstrapper           : Repository [googleSitemaps] has been initialized.
2014-09-15 14:38:30,271 INFO  info.magnolia.importexport.Bootstrapper           : Repository [workflow] has been initialized.
2014-09-15 14:38:30,272 INFO  info.magnolia.importexport.Bootstrapper           : Repository [profiles] has been initialized.
2014-09-15 14:38:30,272 INFO  info.magnolia.importexport.Bootstrapper           : Repository [tags] has been initialized.
2014-09-15 14:38:30,272 INFO  info.magnolia.importexport.Bootstrapper           : Repository [users] has been initialized.
2014-09-15 14:38:30,273 INFO  info.magnolia.importexport.Bootstrapper           : Repository [tasks] has been initialized.
2014-09-15 14:38:30,273 INFO  info.magnolia.importexport.Bootstrapper           : Repository [imaging] has been initialized.
2014-09-15 14:38:30,274 INFO  info.magnolia.importexport.Bootstrapper           : Repository [segments] has been initialized.
2014-09-15 14:38:30,274 INFO  info.magnolia.importexport.Bootstrapper           : Repository [category] has been initialized.
2014-09-15 14:38:30,274 INFO  info.magnolia.importexport.Bootstrapper           : Repository [rss] has been initialized.
2014-09-15 14:38:30,275 INFO  info.magnolia.importexport.Bootstrapper           : Repository [personas] has been initialized.
2014-09-15 14:38:30,275 INFO  info.magnolia.importexport.Bootstrapper           : Repository [resources] has been initialized.
2014-09-15 14:38:30,275 INFO  info.magnolia.importexport.Bootstrapper           : Repository [messages] has been initialized.
2014-09-15 14:38:30,276 INFO  info.magnolia.importexport.Bootstrapper           : Repository [config] has been initialized.
2014-09-15 14:38:30,276 INFO  info.magnolia.importexport.Bootstrapper           : Repository [dms] has been initialized.
2014-09-15 14:38:30,276 INFO  info.magnolia.importexport.Bootstrapper           : Repository [data] has been initialized.

As you can see, the installation actually continued and seems to have completed successfully: I can "start up Magnolia", it asks for the license and seems to run fine.

Comment by Andreas Weder [ 15/Sep/14 ]

3rd run. This time, again, with concurrently running author and public installers.

The installers stall at task 358 and 330 (see screenshots). This time, the system stays like that and I get no exception - or maybe I would get it after some additional minutes of waiting time. My machine cools down, the vents go off again, the installation doesn't pick up again, let alone completes.

Comment by Andreas Weder [ 15/Sep/14 ]

I'm rising the priority of this issue to blocker, since I could reproduce the problem three times in a row and was never able to successfully install 5.3.3.

Comment by Daniel Lipp [ 15/Sep/14 ]

Hm - I just installed ee 5.3.3 on OSX 10.9.4 and java 1.7.0_65. No problem also I also installed author and public concurrently. It was pretty slow for a while but I didn't an OutOfMemoryException - I've not even been close to it (see graph). So the question is what's special in your case. Only diff I see right now is the slightly higher java version...

Comment by Andreas Weder [ 15/Sep/14 ]

Tried to install author, then public with 5.3.2. using the same env mentioned in this issue. This worked fine, no hickups.

Comment by Andreas Weder [ 15/Sep/14 ]

4th run, 5.3.3, first author, then public: this time, the installation went through without problems, no hickups.

Am lowering the priority: this seems to be erratic, and is maybe just occurring on my system.

Comment by Andreas Weder [ 15/Sep/14 ]

I've clicked around in 5.3.3, opened and closed the Pages app, then Preview app, then Configuration app. I got a low-memory warning (see screenshot) as a result. From the log:

2014-09-15 16:45:43,520 WARN  info.magnolia.monitoring.SystemMonitor            : Memory values: max = 458mb, total = 458mb, free = 24mb -> remaining = 24mb / thresholds = 50mb or 10%

My VM memory settings look ok (it's those defined in startup.sh): see screenshot. When I continue, memory usage is reduced and eventually seems to remain relatively steady. Not sure what to make of this...

Comment by Mikaël Geljić [ 07/Jun/18 ]

This was a typical sign of insufficient heap space, which was raised to 1GB since Magnolia 5.4 (see MAGNOLIA-6276). Meanwhile, further actions have been taken on 5.5 last year to decrease the memory footprint of the admin-central (see MGNLUI-4180).

Closing as obsolete.

Generated at Mon Feb 12 04:09:37 CET 2024 using Jira 9.4.2#940002-sha1:46d1a51de284217efdcb32434eab47a99af2938b.