java.lang.OutOfMemoryError: Java heap space

Atlassian JIRA | Will Dampney | 5 years ago
  1. 0

    Hi, Steps to reproduce: * new standard project with {{atlas-create-jira-plugin}} * Start with {{atlas-run}} (no args), starts as normal * Start with {{atlas-run --jvmargs -Datlassian.mail.fetchdisabled=false}} and errors occur. Final messages in atlassian.log: {code} ___ Plugin System Started _________________ 2011-07-14 14:08:28,989 GadgetInstallationThread-1 WARN anonymous [gadgets.publisher.internal.PluginGadgetFinder] Gadget spec PluginGadgetSpec{plugin=com.atlassian.jira.gadgets, location='gadgets/login.xml'} could not be added to plugin-provided gadget spec store, ignoring 2011-07-14 14:08:28,992 main FATAL [atlassian.jira.upgrade.ConsistencyLauncher] An Error occurred during ConsistencyLauncher servlet context initialisation - Java heap space. java.lang.OutOfMemoryError: Java heap space at java.util.Arrays.copyOfRange(Arrays.java:3209) at java.lang.String.<init>(String.java:215) at org.apache.xerces.xni.XMLString.toString(Unknown Source) at org.apache.xerces.parsers.AbstractDOMParser.characters(Unknown Source) at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanContent(Unknown Source) at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl$FragmentContentDispatcher.dispatch(Unknown Source) at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument(Unknown Source) at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source) at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source) at org.apache.xerces.parsers.XMLParser.parse(Unknown Source) at org.apache.xerces.parsers.DOMParser.parse(Unknown Source) at org.apache.xerces.jaxp.DocumentBuilderImpl.parse(Unknown Source) at javax.xml.parsers.DocumentBuilder.parse(DocumentBuilder.java:124) at webwork.config.XMLActionConfiguration.getDocument(XMLActionConfiguration.java:91) at webwork.config.XMLActionConfiguration.getMappingsFromResource(XMLActionConfiguration.java:71) at webwork.config.XMLActionConfiguration.<init>(XMLActionConfiguration.java:60) at webwork.config.DefaultConfiguration.<init>(DefaultConfiguration.java:83) at webwork.config.Configuration.getDefaultConfiguration(Configuration.java:135) at webwork.config.Configuration.getConfiguration(Configuration.java:112) at com.atlassian.jira.config.webwork.WebworkConfigurator.setupConfiguration(WebworkConfigurator.java:43) at com.atlassian.jira.config.webwork.WebworkConfigurator.start(WebworkConfigurator.java:36) at com.atlassian.jira.ComponentManager.quickStart(ComponentManager.java:290) at com.atlassian.jira.ComponentManager.start(ComponentManager.java:237) at com.atlassian.jira.upgrade.ConsistencyLauncher.launchConsistencyChecker(ConsistencyLauncher.java:61) at com.atlassian.jira.upgrade.ConsistencyLauncher.start(ConsistencyLauncher.java:39) at com.atlassian.jira.startup.DefaultJiraLauncher.start(DefaultJiraLauncher.java:39) at com.atlassian.jira.startup.LauncherContextListener$1.create(LauncherContextListener.java:57) at com.atlassian.jira.startup.LauncherContextListener$1.create(LauncherContextListener.java:52) at com.atlassian.multitenant.impl.MultiTenantComponentMapImpl.get(MultiTenantComponentMapImpl.java:121) at com.atlassian.multitenant.impl.MultiTenantComponentMapImpl.onTenantStart(MultiTenantComponentMapImpl.java:165) at com.atlassian.multitenant.impl.DefaultMultiTenantManager$1.consume(DefaultMultiTenantManager.java:134) at com.atlassian.multitenant.impl.DefaultMultiTenantManager$1.consume(DefaultMultiTenantManager.java:131) 2011-07-14 14:08:57,798 GadgetInstallationThread-1 WARN [gadgets.publisher.internal.PluginGadgetFinder] Gadget spec PluginGadgetSpec{plugin=com.atlassian.jira.gadgets, location='gadgets/introduction-gadget.xml'} could not be added to plugin-provided gadget spec store, ignoring {code}

    Atlassian JIRA | 5 years ago | Will Dampney
    java.lang.OutOfMemoryError: Java heap space
  2. 0

    Hi, Steps to reproduce: * new standard project with {{atlas-create-jira-plugin}} * Start with {{atlas-run}} (no args), starts as normal * Start with {{atlas-run --jvmargs -Datlassian.mail.fetchdisabled=false}} and errors occur. Final messages in atlassian.log: {code} ___ Plugin System Started _________________ 2011-07-14 14:08:28,989 GadgetInstallationThread-1 WARN anonymous [gadgets.publisher.internal.PluginGadgetFinder] Gadget spec PluginGadgetSpec{plugin=com.atlassian.jira.gadgets, location='gadgets/login.xml'} could not be added to plugin-provided gadget spec store, ignoring 2011-07-14 14:08:28,992 main FATAL [atlassian.jira.upgrade.ConsistencyLauncher] An Error occurred during ConsistencyLauncher servlet context initialisation - Java heap space. java.lang.OutOfMemoryError: Java heap space at java.util.Arrays.copyOfRange(Arrays.java:3209) at java.lang.String.<init>(String.java:215) at org.apache.xerces.xni.XMLString.toString(Unknown Source) at org.apache.xerces.parsers.AbstractDOMParser.characters(Unknown Source) at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanContent(Unknown Source) at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl$FragmentContentDispatcher.dispatch(Unknown Source) at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument(Unknown Source) at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source) at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source) at org.apache.xerces.parsers.XMLParser.parse(Unknown Source) at org.apache.xerces.parsers.DOMParser.parse(Unknown Source) at org.apache.xerces.jaxp.DocumentBuilderImpl.parse(Unknown Source) at javax.xml.parsers.DocumentBuilder.parse(DocumentBuilder.java:124) at webwork.config.XMLActionConfiguration.getDocument(XMLActionConfiguration.java:91) at webwork.config.XMLActionConfiguration.getMappingsFromResource(XMLActionConfiguration.java:71) at webwork.config.XMLActionConfiguration.<init>(XMLActionConfiguration.java:60) at webwork.config.DefaultConfiguration.<init>(DefaultConfiguration.java:83) at webwork.config.Configuration.getDefaultConfiguration(Configuration.java:135) at webwork.config.Configuration.getConfiguration(Configuration.java:112) at com.atlassian.jira.config.webwork.WebworkConfigurator.setupConfiguration(WebworkConfigurator.java:43) at com.atlassian.jira.config.webwork.WebworkConfigurator.start(WebworkConfigurator.java:36) at com.atlassian.jira.ComponentManager.quickStart(ComponentManager.java:290) at com.atlassian.jira.ComponentManager.start(ComponentManager.java:237) at com.atlassian.jira.upgrade.ConsistencyLauncher.launchConsistencyChecker(ConsistencyLauncher.java:61) at com.atlassian.jira.upgrade.ConsistencyLauncher.start(ConsistencyLauncher.java:39) at com.atlassian.jira.startup.DefaultJiraLauncher.start(DefaultJiraLauncher.java:39) at com.atlassian.jira.startup.LauncherContextListener$1.create(LauncherContextListener.java:57) at com.atlassian.jira.startup.LauncherContextListener$1.create(LauncherContextListener.java:52) at com.atlassian.multitenant.impl.MultiTenantComponentMapImpl.get(MultiTenantComponentMapImpl.java:121) at com.atlassian.multitenant.impl.MultiTenantComponentMapImpl.onTenantStart(MultiTenantComponentMapImpl.java:165) at com.atlassian.multitenant.impl.DefaultMultiTenantManager$1.consume(DefaultMultiTenantManager.java:134) at com.atlassian.multitenant.impl.DefaultMultiTenantManager$1.consume(DefaultMultiTenantManager.java:131) 2011-07-14 14:08:57,798 GadgetInstallationThread-1 WARN [gadgets.publisher.internal.PluginGadgetFinder] Gadget spec PluginGadgetSpec{plugin=com.atlassian.jira.gadgets, location='gadgets/introduction-gadget.xml'} could not be added to plugin-provided gadget spec store, ignoring {code}

    Atlassian JIRA | 5 years ago | Will Dampney
    java.lang.OutOfMemoryError: Java heap space
  3. 0

    Changes feed memory

    Google Groups | 6 years ago | Luke
    java.lang.OutOfMemoryError: Java heap space
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    out of memory when rendering big pulses

    GitHub | 3 years ago | yegor256
    java.lang.OutOfMemoryError: Java heap space
  6. 0

    OutOfMemoryError using ORDER BY clause

    GitHub | 3 years ago | mchmielarz
    java.lang.OutOfMemoryError: Java heap space

  1. szoszi 3 times, last 9 months ago
6 unregistered visitors
Not finding the right solution?
Take a tour to get the most out of Samebug.

Tired of useless tips?

Automated exception search integrated into your IDE

Root Cause Analysis

  1. java.lang.OutOfMemoryError

    Java heap space

    at java.util.Arrays.copyOfRange()
  2. Java RT
    String.<init>
    1. java.util.Arrays.copyOfRange(Arrays.java:3209)
    2. java.lang.String.<init>(String.java:215)
    2 frames
  3. Xerces2-j
    DocumentBuilderImpl.parse
    1. org.apache.xerces.xni.XMLString.toString(Unknown Source)
    2. org.apache.xerces.parsers.AbstractDOMParser.characters(Unknown Source)
    3. org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanContent(Unknown Source)
    4. org.apache.xerces.impl.XMLDocumentFragmentScannerImpl$FragmentContentDispatcher.dispatch(Unknown Source)
    5. org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument(Unknown Source)
    6. org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source)
    7. org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source)
    8. org.apache.xerces.parsers.XMLParser.parse(Unknown Source)
    9. org.apache.xerces.parsers.DOMParser.parse(Unknown Source)
    10. org.apache.xerces.jaxp.DocumentBuilderImpl.parse(Unknown Source)
    10 frames
  4. Java RT
    DocumentBuilder.parse
    1. javax.xml.parsers.DocumentBuilder.parse(DocumentBuilder.java:124)
    1 frame
  5. webwork.config
    Configuration.getConfiguration
    1. webwork.config.XMLActionConfiguration.getDocument(XMLActionConfiguration.java:91)
    2. webwork.config.XMLActionConfiguration.getMappingsFromResource(XMLActionConfiguration.java:71)
    3. webwork.config.XMLActionConfiguration.<init>(XMLActionConfiguration.java:60)
    4. webwork.config.DefaultConfiguration.<init>(DefaultConfiguration.java:83)
    5. webwork.config.Configuration.getDefaultConfiguration(Configuration.java:135)
    6. webwork.config.Configuration.getConfiguration(Configuration.java:112)
    6 frames
  6. com.atlassian.jira
    LauncherContextListener$1.create
    1. com.atlassian.jira.config.webwork.WebworkConfigurator.setupConfiguration(WebworkConfigurator.java:43)
    2. com.atlassian.jira.config.webwork.WebworkConfigurator.start(WebworkConfigurator.java:36)
    3. com.atlassian.jira.ComponentManager.quickStart(ComponentManager.java:290)
    4. com.atlassian.jira.ComponentManager.start(ComponentManager.java:237)
    5. com.atlassian.jira.upgrade.ConsistencyLauncher.launchConsistencyChecker(ConsistencyLauncher.java:61)
    6. com.atlassian.jira.upgrade.ConsistencyLauncher.start(ConsistencyLauncher.java:39)
    7. com.atlassian.jira.startup.DefaultJiraLauncher.start(DefaultJiraLauncher.java:39)
    8. com.atlassian.jira.startup.LauncherContextListener$1.create(LauncherContextListener.java:57)
    9. com.atlassian.jira.startup.LauncherContextListener$1.create(LauncherContextListener.java:52)
    9 frames
  7. com.atlassian.multitenant
    DefaultMultiTenantManager$1.consume
    1. com.atlassian.multitenant.impl.MultiTenantComponentMapImpl.get(MultiTenantComponentMapImpl.java:121)
    2. com.atlassian.multitenant.impl.MultiTenantComponentMapImpl.onTenantStart(MultiTenantComponentMapImpl.java:165)
    3. com.atlassian.multitenant.impl.DefaultMultiTenantManager$1.consume(DefaultMultiTenantManager.java:134)
    4. com.atlassian.multitenant.impl.DefaultMultiTenantManager$1.consume(DefaultMultiTenantManager.java:131)
    4 frames