Skip to content

XMLAnalyzer slow with attributes with huge value #3740

@boekhold

Description

@boekhold

Describe the bug
OpenGrok 1.7.20, openjdk version "11.0.11" 2021-04-20

I'm trying to index sources that include XML files. Some XML files have elements that have attributes with a huge value (MBs of Base64 encoded data). XMLAnalyzer takes forever on these files. For example, a 1.7MB XML file took 13 minutes to process.

For now, I'll filter out (--ignore) these files (they have a unique file extension), but would be nice if XMLAnalyzer could be updated to process such files in reasonable time.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions