-
Bug
-
Resolution: Unresolved
-
Low
-
None
-
None
-
32
-
Severity 2 - Major
-
2
-
NOTE: This bug report is for JIRA Server. Using JIRA Cloud? See the corresponding bug report.
Summary
JIRA Anonymizer does not work with large files.
Steps to Reproduce
- Export a backup from a large JIRA instance (500K+ issues)
- Attempt to anonymize the entities.xml file
Expected Results
The entities.xml is anonymized correctly.
Actual Results
The error below happens:
/Users/bberen/Downloads/entities_clean.xml:57329676:992: JAXP00010004: The accumulated size of entities is "50,000,001" that exceeded the "50,000,000" limit set by "FEATURE_SECURE_PROCESSING".
Workaround
Add the parameters -DentityExpansionLimit=2147480000 -DtotalEntitySizeLimit=2147480000 -Djdk.xml.totalEntitySizeLimit=2147480000 when launching the anonymizer, such as below:
java -DentityExpansionLimit=2147480000 -DtotalEntitySizeLimit=2147480000 -Djdk.xml.totalEntitySizeLimit=2147480000 -Xmx2g -jar joost.jar entities.xml anon.stx > anon-entities.xml
- relates to
-
JRACLOUD-62752 Anonymizer does not work with large files
- Closed