Error from JIRA Script runner v3.0.12

Trying to create a sub task.
Left Condition as blank
Set the target issue type
Entered text as Subtask summry
Let subtask action blank

java.lang.OutOfMemoryError: PermGen space
at java.lang.Class.getDeclaredFields0(Native Method)
at java.lang.Class.privateGetDeclaredFields(
at java.lang.Class.getDeclaredFields(
at org.codehaus.groovy.reflection.CachedClass$1$
at Method)
at org.codehaus.groovy.reflection.CachedClass$1.initValue(
at org.codehaus.groovy.reflection.CachedClass$1.initValue(
at org.codehaus.groovy.util.LazyReference.getLocked(
at org.codehaus.groovy.util.LazyReference.get(
at org.codehaus.groovy.reflection.CachedClass.getFields(
at groovy.lang.MetaClassImpl.addFields(
at groovy.lang.MetaClassImpl.inheritStaticInterfaceFields(
at groovy.lang.MetaClassImpl.setupProperties(
at groovy.lang.MetaClassImpl.addProperties(
at groovy.lang.MetaClassImpl.initialize(
at org.codehaus.groovy.reflection.ClassInfo.getMetaClassUnderLock(
at org.codehaus.groovy.reflection.ClassInfo.getMetaClass(
at org.codehaus.groovy.reflection.ClassInfo.getMetaClass(
at org.codehaus.groovy.runtime.metaclass.MetaClassRegistryImpl.getMetaClass(
at org.codehaus.groovy.runtime.InvokerHelper.getMetaClass(
at org.codehaus.groovy.runtime.callsite.AbstractCallSite.createPojoMetaClassGetPropertySite(
at org.codehaus.groovy.runtime.callsite.AbstractCallSite.createGetPropertySite(
at org.codehaus.groovy.runtime.callsite.AbstractCallSite.acceptGetProperty(
at org.codehaus.groovy.runtime.callsite.AbstractCallSite.callGetProperty(
at org.codehaus.groovy.control.CompilationUnit.applyToPrimaryClassNodes(
at org.codehaus.groovy.control.CompilationUnit.doPhaseOperation(
at org.codehaus.groovy.control.CompilationUnit.processPhaseOperations(
at org.codehaus.groovy.control.CompilationUnit.compile(
at groovy.lang.GroovyClassLoader.doParseClass(
at groovy.lang.GroovyClassLoader.parseClass(
at groovy.util.GroovyScriptEngine$ScriptClassLoader.doParseClass(

1 answer

Quick update

I am trying to replace the Metro plugin.  I had 16 post steps, such as

Type: class

Class: com.telenor.jira.plugin.workflow.createsubissue.CreateSubIssueFunction
field.subIssueDescription =
field.subIssueAssignTo = 3
field.subIssueOverview = Functional Requirement Analysis for %.Key%
field.subIssueTypeId = 21
field.subIssuePriorityId = 0

Immediately after I got this error JIRA became unusable (out of memory).  I stopped and started and removed the 16 post steps and managed to re-add now

Roy - check your permgen settings. If your machine has enough memory I recommend 512m.

Suggest an answer

Log in or Sign up to answer
How to earn badges on the Atlassian Community

How to earn badges on the Atlassian Community

Badges are a great way to show off community activity, whether you’re a newbie or a Champion.

Learn more
Community showcase
Published Monday in Jira Software

How large do you think Jira Software can grow?

Hi Atlassian Community! My name is Shana, and I’m on the Jira Software team. One of the many reasons this Community exists is to connect you to others on similar product journeys or with comparabl...

653 views 6 12
Read article

Atlassian User Groups

Connect with like-minded Atlassian users at free events near you!

Find a group

Connect with like-minded Atlassian users at free events near you!

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you