[
https://issues.apache.org/jira/browse/CAMEL-16349?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Claus Ibsen updated CAMEL-16349:
--------------------------------
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.
was:
By static source code generate in java then we make the class take up memory
space for string constants for all the component names.
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.
> camel-core - MainHelper load list from file in classpath to reduce memory
> -------------------------------------------------------------------------
>
> Key: CAMEL-16349
> URL: https://issues.apache.org/jira/browse/CAMEL-16349
> Project: Camel
> Issue Type: Improvement
> Components: camel-core
> Reporter: Claus Ibsen
> Assignee: Claus Ibsen
> Priority: Major
> Fix For: 3.9.0
>
>
> 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.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)