Community
Participate
Working Groups
Improve PDE model implementation. PDE lazily builds detailed models of plug- ins, plug-in fragments, features, extension point schemas. Once loaded, these models are kept in memory until shut down. This approach does not scale up to working with large numbers (1000s) of plug-ins. PDE model elements should be changed to use lightweight handle objects, backed by detailed models which are loaded and unloaded as required.
The main problem for the huge consumption of memory is the fact that PDE keeps the internal structure of all extensions in the target platform. This could be potentially huge. Just think of what the content of an "org.eclipse.ui.actionSets" extension looks like. PDE now keeps a lightweight representation of extensions in the target platform. We only keep the "point", "id", "name" attributes and we discard the rest. This is enough to to do searches and all other activities that require knowledge of extensions.