Uploaded image for project: 'Camel'
  1. Camel
  2. CAMEL-16349

camel-core - MainHelper load list from file in classpath to reduce memory

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • 3.9.0
    • camel-core
    • None
    • Unknown

    Description

      By static source code generate in java then we make the class take up memory space for string constants for all the component names. The class is about 20kb+ in size

      As we only need this during bootstrap, we could source code generate to a .properties file and load this file from classpath into a set, and then clear the set after use. Then there is no memory being hold up.

      Attachments

        Issue Links

          Activity

            People

              davsclaus Claus Ibsen
              davsclaus Claus Ibsen
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: