java.lang.OutOfMemoryError

There are no available Samebug tips for this exception. Do you have an idea how to solve this issue? A short tip would help users who saw this issue last week.

  • 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.
    via by Ray Maxwell,
  • 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.
    via by Ray Maxwell,
  • 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)
    via by michael b,
  • 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)
    via by michael b,
    • 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)

    Users with the same issue

    Unknown visitor1 times, last one,
    Unknown visitor1 times, last one,