Details
-
Improvement
-
Status: Resolved
-
Major
-
Resolution: Fixed
-
None
-
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
- relates to
-
CAMEL-16345 camel-main fails to load component properties from Enviroment variables
- Resolved