java.lang.OutOfMemoryError: Java heap space

JIRA | Ray Maxwell | 5 years ago
tip
Do you know that we can give you better hits? Get more relevant results from Samebug’s stack trace search.
  1. 0

    when trying to create a project with the CLI we got the following Errors Error one listed below was what we ran into first so I went into the jira.bat file and increased the Heap to -xmx1024m. Then ran the create again and got the second message. Note: I can create issues just fine on the server we are pointing to using the CLI calls. We are on Jira 5.0.6 using the 2.6.0 CLI. Thanks. 1. C:\Users\maxwellar\Development\jira-cli-2.5.0>jira --verbose --action createProject --project "ZJIRACLIRUNNER" --name "zjiraclirunner" --description "GINT test: jiraclirunner" --lead "maxwellar" Picked up JAVA_TOOL_OPTIONS: -agentlib:jvmhook Picked up _JAVA_OPTIONS: -Xrunjvmhook -Xbootclasspath/a:C:\PROGRA~1\HP\Sprinter\bin\JAVA_S~1\classes;C:\PROGRA~1\HP\Sprinter\bin\JAVA_S~1\classes\jasmine.jar Server address: https://code-test.ldschurch.org/jira/rpc/soap/jirasoapservice-v2 Successful login to: https://code-test.ldschurch.org/jira/rpc/soap/jirasoapservice-v2 by user: maxwellar 80t1aT9QN4 logged out. Exception in thread "main" java.lang.OutOfMemoryError: Java heap space at java.lang.Class.getDeclaredMethods0(Native Method) at java.lang.Class.privateGetDeclaredMethods(Class.java:2427) at java.lang.Class.privateGetPublicMethods(Class.java:2547) at java.lang.Class.privateGetPublicMethods(Class.java:2563) at java.lang.Class.privateGetPublicMethods(Class.java:2563) at java.lang.Class.getMethods(Class.java:1410) at java.beans.Introspector.getPublicDeclaredMethods(Introspector.java:1284) at java.beans.Introspector.internalFindMethod(Introspector.java:1316) at java.beans.Introspector.findMethod(Introspector.java:1387) at java.beans.PropertyDescriptor.getWriteMethod(PropertyDescriptor.java:246) at org.apache.axis.utils.BeanPropertyDescriptor.isWriteable(BeanPropertyDescriptor.java:88) at org.apache.axis.encoding.ser.BeanDeserializer.onStartChild(BeanDeserializer.java:323) at org.apache.axis.encoding.DeserializationContext.startElement(DeserializationContext.java:1035) at org.apache.axis.message.SAX2EventRecorder.replay(SAX2EventRecorder.java:165) at org.apache.axis.message.MessageElement.publishToHandler(MessageElement.java:1141) at org.apache.axis.encoding.DeserializerImpl.startElement(DeserializerImpl.java:369) at org.apache.axis.encoding.DeserializationContext.startElement(DeserializationContext.java:1048) at org.apache.axis.message.SAX2EventRecorder.replay(SAX2EventRecorder.java:165) at org.apache.axis.message.MessageElement.publishToHandler(MessageElement.java:1141) at org.apache.axis.encoding.DeserializerImpl.startElement(DeserializerImpl.java:369) at org.apache.axis.encoding.DeserializationContext.startElement(DeserializationContext.java:1048) at org.apache.axis.message.SAX2EventRecorder.replay(SAX2EventRecorder.java:165) at org.apache.axis.message.MessageElement.publishToHandler(MessageElement.java:1141) at org.apache.axis.encoding.DeserializerImpl.startElement(DeserializerImpl.java:369) at org.apache.axis.encoding.DeserializationContext.startElement(DeserializationContext.java:1048) at org.apache.axis.message.SAX2EventRecorder.replay(SAX2EventRecorder.java:165) at org.apache.axis.message.MessageElement.publishToHandler(MessageElement.java:1141) at org.apache.axis.encoding.DeserializerImpl.startElement(DeserializerImpl.java:369) at org.apache.axis.encoding.DeserializationContext.startElement(DeserializationContext.java:1048) at org.apache.axis.message.SAX2EventRecorder.replay(SAX2EventRecorder.java:165) at org.apache.axis.message.MessageElement.publishToHandler(MessageElement.java:1141) at org.apache.axis.message.RPCElement.deserialize(RPCElement.java:236) 2. C:\Users\maxwellar\Development\jira-cli-2.6.0>jira --verbose --action createProject --project "ZJIRACLIRUNNER" --name "zjiraclirunner" --description "GINT test jiraclirunner" --lead "maxwellar" Picked up JAVA_TOOL_OPTIONS: -agentlib:jvmhook Picked up _JAVA_OPTIONS: -Xrunjvmhook -Xbootclasspath/a:C:\PROGRA~1\HP\Sprinter\bin\JAVA_S~1\classes;C:\PROGRA~1\HP\Sprinter\bin\JAVA_S~1\classes\jasmine.jar Server address: https://code-test.ldschurch.org/jira/rpc/soap/jirasoapservice-v2 Successful login to: https://code-test.ldschurch.org/jira/rpc/soap/jirasoapservice-v2 by user: maxwellar Remote error: (404)Not Found AxisFault faultCode: {http://xml.apache.org/axis/}HTTP faultSubcode: faultString: (404)Not Found faultActor: faultNode: faultDetail: {}:return code: 404 {http://xml.apache.org/axis/}HttpErrorCode:404 (404)Not Found at org.apache.axis.transport.http.HTTPSender.readFromSocket(HTTPSender.java:744) at org.apache.axis.transport.http.HTTPSender.invoke(HTTPSender.java:144) at org.apache.axis.strategies.InvocationStrategy.visit(InvocationStrategy.java:32) at org.apache.axis.SimpleChain.doVisiting(SimpleChain.java:118) at org.apache.axis.SimpleChain.invoke(SimpleChain.java:83) at org.apache.axis.client.AxisClient.invoke(AxisClient.java:165) at org.apache.axis.client.Call.invokeEngine(Call.java:2784) at org.apache.axis.client.Call.invoke(Call.java:2767) at org.apache.axis.client.Call.invoke(Call.java:2443) at org.apache.axis.client.Call.invoke(Call.java:2366) at org.apache.axis.client.Call.invoke(Call.java:1812) at org.swift.common.soap.jira.JirasoapserviceV2SoapBindingStub.createProjectFromObject(JirasoapserviceV2SoapBindingStub.java:7716) at org.swift.jira.cli.JiraClient.createProject(JiraClient.java:3210) at org.swift.jira.cli.JiraClient.handleRequest(JiraClient.java:460) at org.swift.common.cli.AbstractRemoteClient.process(AbstractRemoteClient.java:119) at org.swift.common.cli.CliClient.doWork(CliClient.java:298) at org.swift.jira.cli.JiraClient.main(JiraClient.java:158) 0zN8Ijc5KX logged out.

    JIRA | 5 years ago | Ray Maxwell
    java.lang.OutOfMemoryError: Java heap space
  2. 0

    when trying to create a project with the CLI we got the following Errors Error one listed below was what we ran into first so I went into the jira.bat file and increased the Heap to -xmx1024m. Then ran the create again and got the second message. Note: I can create issues just fine on the server we are pointing to using the CLI calls. We are on Jira 5.0.6 using the 2.6.0 CLI. Thanks. 1. C:\Users\maxwellar\Development\jira-cli-2.5.0>jira --verbose --action createProject --project "ZJIRACLIRUNNER" --name "zjiraclirunner" --description "GINT test: jiraclirunner" --lead "maxwellar" Picked up JAVA_TOOL_OPTIONS: -agentlib:jvmhook Picked up _JAVA_OPTIONS: -Xrunjvmhook -Xbootclasspath/a:C:\PROGRA~1\HP\Sprinter\bin\JAVA_S~1\classes;C:\PROGRA~1\HP\Sprinter\bin\JAVA_S~1\classes\jasmine.jar Server address: https://code-test.ldschurch.org/jira/rpc/soap/jirasoapservice-v2 Successful login to: https://code-test.ldschurch.org/jira/rpc/soap/jirasoapservice-v2 by user: maxwellar 80t1aT9QN4 logged out. Exception in thread "main" java.lang.OutOfMemoryError: Java heap space at java.lang.Class.getDeclaredMethods0(Native Method) at java.lang.Class.privateGetDeclaredMethods(Class.java:2427) at java.lang.Class.privateGetPublicMethods(Class.java:2547) at java.lang.Class.privateGetPublicMethods(Class.java:2563) at java.lang.Class.privateGetPublicMethods(Class.java:2563) at java.lang.Class.getMethods(Class.java:1410) at java.beans.Introspector.getPublicDeclaredMethods(Introspector.java:1284) at java.beans.Introspector.internalFindMethod(Introspector.java:1316) at java.beans.Introspector.findMethod(Introspector.java:1387) at java.beans.PropertyDescriptor.getWriteMethod(PropertyDescriptor.java:246) at org.apache.axis.utils.BeanPropertyDescriptor.isWriteable(BeanPropertyDescriptor.java:88) at org.apache.axis.encoding.ser.BeanDeserializer.onStartChild(BeanDeserializer.java:323) at org.apache.axis.encoding.DeserializationContext.startElement(DeserializationContext.java:1035) at org.apache.axis.message.SAX2EventRecorder.replay(SAX2EventRecorder.java:165) at org.apache.axis.message.MessageElement.publishToHandler(MessageElement.java:1141) at org.apache.axis.encoding.DeserializerImpl.startElement(DeserializerImpl.java:369) at org.apache.axis.encoding.DeserializationContext.startElement(DeserializationContext.java:1048) at org.apache.axis.message.SAX2EventRecorder.replay(SAX2EventRecorder.java:165) at org.apache.axis.message.MessageElement.publishToHandler(MessageElement.java:1141) at org.apache.axis.encoding.DeserializerImpl.startElement(DeserializerImpl.java:369) at org.apache.axis.encoding.DeserializationContext.startElement(DeserializationContext.java:1048) at org.apache.axis.message.SAX2EventRecorder.replay(SAX2EventRecorder.java:165) at org.apache.axis.message.MessageElement.publishToHandler(MessageElement.java:1141) at org.apache.axis.encoding.DeserializerImpl.startElement(DeserializerImpl.java:369) at org.apache.axis.encoding.DeserializationContext.startElement(DeserializationContext.java:1048) at org.apache.axis.message.SAX2EventRecorder.replay(SAX2EventRecorder.java:165) at org.apache.axis.message.MessageElement.publishToHandler(MessageElement.java:1141) at org.apache.axis.encoding.DeserializerImpl.startElement(DeserializerImpl.java:369) at org.apache.axis.encoding.DeserializationContext.startElement(DeserializationContext.java:1048) at org.apache.axis.message.SAX2EventRecorder.replay(SAX2EventRecorder.java:165) at org.apache.axis.message.MessageElement.publishToHandler(MessageElement.java:1141) at org.apache.axis.message.RPCElement.deserialize(RPCElement.java:236) 2. C:\Users\maxwellar\Development\jira-cli-2.6.0>jira --verbose --action createProject --project "ZJIRACLIRUNNER" --name "zjiraclirunner" --description "GINT test jiraclirunner" --lead "maxwellar" Picked up JAVA_TOOL_OPTIONS: -agentlib:jvmhook Picked up _JAVA_OPTIONS: -Xrunjvmhook -Xbootclasspath/a:C:\PROGRA~1\HP\Sprinter\bin\JAVA_S~1\classes;C:\PROGRA~1\HP\Sprinter\bin\JAVA_S~1\classes\jasmine.jar Server address: https://code-test.ldschurch.org/jira/rpc/soap/jirasoapservice-v2 Successful login to: https://code-test.ldschurch.org/jira/rpc/soap/jirasoapservice-v2 by user: maxwellar Remote error: (404)Not Found AxisFault faultCode: {http://xml.apache.org/axis/}HTTP faultSubcode: faultString: (404)Not Found faultActor: faultNode: faultDetail: {}:return code: 404 {http://xml.apache.org/axis/}HttpErrorCode:404 (404)Not Found at org.apache.axis.transport.http.HTTPSender.readFromSocket(HTTPSender.java:744) at org.apache.axis.transport.http.HTTPSender.invoke(HTTPSender.java:144) at org.apache.axis.strategies.InvocationStrategy.visit(InvocationStrategy.java:32) at org.apache.axis.SimpleChain.doVisiting(SimpleChain.java:118) at org.apache.axis.SimpleChain.invoke(SimpleChain.java:83) at org.apache.axis.client.AxisClient.invoke(AxisClient.java:165) at org.apache.axis.client.Call.invokeEngine(Call.java:2784) at org.apache.axis.client.Call.invoke(Call.java:2767) at org.apache.axis.client.Call.invoke(Call.java:2443) at org.apache.axis.client.Call.invoke(Call.java:2366) at org.apache.axis.client.Call.invoke(Call.java:1812) at org.swift.common.soap.jira.JirasoapserviceV2SoapBindingStub.createProjectFromObject(JirasoapserviceV2SoapBindingStub.java:7716) at org.swift.jira.cli.JiraClient.createProject(JiraClient.java:3210) at org.swift.jira.cli.JiraClient.handleRequest(JiraClient.java:460) at org.swift.common.cli.AbstractRemoteClient.process(AbstractRemoteClient.java:119) at org.swift.common.cli.CliClient.doWork(CliClient.java:298) at org.swift.jira.cli.JiraClient.main(JiraClient.java:158) 0zN8Ijc5KX logged out.

    JIRA | 5 years ago | Ray Maxwell
    java.lang.OutOfMemoryError: Java heap space
  3. 0

    Im getting some errors when trying to do anything except "getServerInfo." I have already tried increasing heap to -Xmx1024m. My Jira version is 6.1 and CLI version is 3.8.0 i:\jira-cli-3.8.0>jira --action createProject --project "JCRSRelease" --name "JCRS Release" Exception in thread "main" java.lang.OutOfMemoryError: Java heap space at java.lang.Class.getDeclaredMethods0(Native Method) at java.lang.Class.privateGetDeclaredMethods(Unknown Source) at java.lang.Class.privateGetPublicMethods(Unknown Source) at java.lang.Class.privateGetPublicMethods(Unknown Source) at java.lang.Class.privateGetPublicMethods(Unknown Source) at java.lang.Class.getMethods(Unknown Source) at java.beans.Introspector.getPublicDeclaredMethods(Unknown Source) at java.beans.Introspector.internalFindMethod(Unknown Source) at java.beans.Introspector.findMethod(Unknown Source) at java.beans.PropertyDescriptor.getWriteMethod(Unknown Source) at org.apache.axis.utils.BeanPropertyDescriptor.isWriteable(BeanPropertyDescriptor.java:88) at org.apache.axis.encoding.ser.BeanDeserializer.onStartChild(BeanDeserializer.java:323) at org.apache.axis.encoding.DeserializationContext.startElement(DeserializationContext.java:1035) at org.apache.axis.message.SAX2EventRecorder.replay(SAX2EventRecorder.java:165) at org.apache.axis.message.MessageElement.publishToHandler(MessageElement.java:1141) at org.apache.axis.encoding.DeserializerImpl.startElement(DeserializerImpl.java:369) at org.apache.axis.encoding.DeserializationContext.startElement(DeserializationContext.java:1048) at org.apache.axis.message.SAX2EventRecorder.replay(SAX2EventRecorder.java:165) at org.apache.axis.message.MessageElement.publishToHandler(MessageElement.java:1141) at org.apache.axis.encoding.DeserializerImpl.startElement(DeserializerImpl.java:369) at org.apache.axis.encoding.DeserializationContext.startElement(DeserializationContext.java:1048) at org.apache.axis.message.SAX2EventRecorder.replay(SAX2EventRecorder.java:165) at org.apache.axis.message.MessageElement.publishToHandler(MessageElement.java:1141) at org.apache.axis.encoding.DeserializerImpl.startElement(DeserializerImpl.java:369) at org.apache.axis.encoding.DeserializationContext.startElement(DeserializationContext.java:1048) at org.apache.axis.message.SAX2EventRecorder.replay(SAX2EventRecorder.java:165) at org.apache.axis.message.MessageElement.publishToHandler(MessageElement.java:1141) at org.apache.axis.encoding.DeserializerImpl.startElement(DeserializerImpl.java:369) at org.apache.axis.encoding.DeserializationContext.startElement(DeserializationContext.java:1048) at org.apache.axis.message.SAX2EventRecorder.replay(SAX2EventRecorder.java:165) at org.apache.axis.message.MessageElement.publishToHandler(MessageElement.java:1141) at org.apache.axis.message.RPCElement.deserialize(RPCElement.java:236)

    JIRA | 3 years ago | michael b
    java.lang.OutOfMemoryError: Java heap space
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Im getting some errors when trying to do anything except "getServerInfo." I have already tried increasing heap to -Xmx1024m. My Jira version is 6.1 and CLI version is 3.8.0 i:\jira-cli-3.8.0>jira --action createProject --project "JCRSRelease" --name "JCRS Release" Exception in thread "main" java.lang.OutOfMemoryError: Java heap space at java.lang.Class.getDeclaredMethods0(Native Method) at java.lang.Class.privateGetDeclaredMethods(Unknown Source) at java.lang.Class.privateGetPublicMethods(Unknown Source) at java.lang.Class.privateGetPublicMethods(Unknown Source) at java.lang.Class.privateGetPublicMethods(Unknown Source) at java.lang.Class.getMethods(Unknown Source) at java.beans.Introspector.getPublicDeclaredMethods(Unknown Source) at java.beans.Introspector.internalFindMethod(Unknown Source) at java.beans.Introspector.findMethod(Unknown Source) at java.beans.PropertyDescriptor.getWriteMethod(Unknown Source) at org.apache.axis.utils.BeanPropertyDescriptor.isWriteable(BeanPropertyDescriptor.java:88) at org.apache.axis.encoding.ser.BeanDeserializer.onStartChild(BeanDeserializer.java:323) at org.apache.axis.encoding.DeserializationContext.startElement(DeserializationContext.java:1035) at org.apache.axis.message.SAX2EventRecorder.replay(SAX2EventRecorder.java:165) at org.apache.axis.message.MessageElement.publishToHandler(MessageElement.java:1141) at org.apache.axis.encoding.DeserializerImpl.startElement(DeserializerImpl.java:369) at org.apache.axis.encoding.DeserializationContext.startElement(DeserializationContext.java:1048) at org.apache.axis.message.SAX2EventRecorder.replay(SAX2EventRecorder.java:165) at org.apache.axis.message.MessageElement.publishToHandler(MessageElement.java:1141) at org.apache.axis.encoding.DeserializerImpl.startElement(DeserializerImpl.java:369) at org.apache.axis.encoding.DeserializationContext.startElement(DeserializationContext.java:1048) at org.apache.axis.message.SAX2EventRecorder.replay(SAX2EventRecorder.java:165) at org.apache.axis.message.MessageElement.publishToHandler(MessageElement.java:1141) at org.apache.axis.encoding.DeserializerImpl.startElement(DeserializerImpl.java:369) at org.apache.axis.encoding.DeserializationContext.startElement(DeserializationContext.java:1048) at org.apache.axis.message.SAX2EventRecorder.replay(SAX2EventRecorder.java:165) at org.apache.axis.message.MessageElement.publishToHandler(MessageElement.java:1141) at org.apache.axis.encoding.DeserializerImpl.startElement(DeserializerImpl.java:369) at org.apache.axis.encoding.DeserializationContext.startElement(DeserializationContext.java:1048) at org.apache.axis.message.SAX2EventRecorder.replay(SAX2EventRecorder.java:165) at org.apache.axis.message.MessageElement.publishToHandler(MessageElement.java:1141) at org.apache.axis.message.RPCElement.deserialize(RPCElement.java:236)

    JIRA | 3 years ago | michael b
    java.lang.OutOfMemoryError: Java heap space

    Root Cause Analysis

    1. java.lang.OutOfMemoryError

      Java heap space

      at java.lang.Class.getDeclaredMethods0()
    2. Java RT
      PropertyDescriptor.getWriteMethod
      1. java.lang.Class.getDeclaredMethods0(Native Method)
      2. java.lang.Class.privateGetDeclaredMethods(Class.java:2427)
      3. java.lang.Class.privateGetPublicMethods(Class.java:2547)
      4. java.lang.Class.privateGetPublicMethods(Class.java:2563)
      5. java.lang.Class.privateGetPublicMethods(Class.java:2563)
      6. java.lang.Class.getMethods(Class.java:1410)
      7. java.beans.Introspector.getPublicDeclaredMethods(Introspector.java:1284)
      8. java.beans.Introspector.internalFindMethod(Introspector.java:1316)
      9. java.beans.Introspector.findMethod(Introspector.java:1387)
      10. java.beans.PropertyDescriptor.getWriteMethod(PropertyDescriptor.java:246)
      10 frames
    3. Axis Web Services
      RPCElement.deserialize
      1. org.apache.axis.utils.BeanPropertyDescriptor.isWriteable(BeanPropertyDescriptor.java:88)
      2. org.apache.axis.encoding.ser.BeanDeserializer.onStartChild(BeanDeserializer.java:323)
      3. org.apache.axis.encoding.DeserializationContext.startElement(DeserializationContext.java:1035)
      4. org.apache.axis.message.SAX2EventRecorder.replay(SAX2EventRecorder.java:165)
      5. org.apache.axis.message.MessageElement.publishToHandler(MessageElement.java:1141)
      6. org.apache.axis.encoding.DeserializerImpl.startElement(DeserializerImpl.java:369)
      7. org.apache.axis.encoding.DeserializationContext.startElement(DeserializationContext.java:1048)
      8. org.apache.axis.message.SAX2EventRecorder.replay(SAX2EventRecorder.java:165)
      9. org.apache.axis.message.MessageElement.publishToHandler(MessageElement.java:1141)
      10. org.apache.axis.encoding.DeserializerImpl.startElement(DeserializerImpl.java:369)
      11. org.apache.axis.encoding.DeserializationContext.startElement(DeserializationContext.java:1048)
      12. org.apache.axis.message.SAX2EventRecorder.replay(SAX2EventRecorder.java:165)
      13. org.apache.axis.message.MessageElement.publishToHandler(MessageElement.java:1141)
      14. org.apache.axis.encoding.DeserializerImpl.startElement(DeserializerImpl.java:369)
      15. org.apache.axis.encoding.DeserializationContext.startElement(DeserializationContext.java:1048)
      16. org.apache.axis.message.SAX2EventRecorder.replay(SAX2EventRecorder.java:165)
      17. org.apache.axis.message.MessageElement.publishToHandler(MessageElement.java:1141)
      18. org.apache.axis.encoding.DeserializerImpl.startElement(DeserializerImpl.java:369)
      19. org.apache.axis.encoding.DeserializationContext.startElement(DeserializationContext.java:1048)
      20. org.apache.axis.message.SAX2EventRecorder.replay(SAX2EventRecorder.java:165)
      21. org.apache.axis.message.MessageElement.publishToHandler(MessageElement.java:1141)
      22. org.apache.axis.message.RPCElement.deserialize(RPCElement.java:236)
      22 frames