Error Message 'Velocity Runtime ran out of parsers' due to Velocity Configurations
Platform Notice: Data Center Only - This article only applies to Atlassian products on the Data Center platform.
Note that this KB was created for the Data Center version of the product. Data Center KBs for non-Data-Center-specific features may also work for Server versions of the product, however they have not been tested. Support for Server* products ended on February 15th 2024. If you are running a Server product, you can visit the Atlassian Server end of support announcement to review your migration options.
*Except Fisheye and Crucible
Symptoms
Under high load, the following appears in the atlassian-jira.log
:
1
2011-07-29 10:18:22,314 http-8080-10 ERROR anonymous 618x837773x5 a8n1rp 10.1.38.10 /secure/IssueNavigator.jspa[velocity] Runtime : ran out of parsers. Creating new. Please increment the parser.pool.size property. The current value is too small.
Cause
This is due to the velocimacro.library.autoreload property being set to true, and and the class.resource.loader.cache being disabled.
Resolution
In <JIRA-install>/atlassian-jira/WEB-INF/classes/velocity.properties:
Set the velocity velocimacro.library.autoreload property to false
Enable the class.resource.loader.cache
Was this helpful?