|Re: [hudson-dev] Plugin development: Job information in memory or disk|
The Job and Build objects are held by soft references in an MRU cache, so any object that is referenced by those will be pinned and consequentially any object that is only pinned by that reference will be released when the corresponding Job or Build is released.
The cache can be tweaked - see here https://blogs.oracle.com/royvarghese/entry/tweaking_hudson_memory_usage
If a plugin is creating and holding its own data, this feature does not affect or optimize it. If the plugin can derive the data from the build/job as/when required, its probably better to it that way rather than generate and store.
On 12/02/2015 01:48 PM, Winston Prakash wrote:
Adding Roy, who implemented this feature, to this thread.
Back to the top