Verifies the integrety of the projects, as builds are executed immediately after a code change was detected. This plan provides no artifiacts (use a nightly build instead).
Build: #3029 was successful
Job: Build was successful
Code commits
Openfire (master)
-
daryl herzmann 1e05c9cec18cf4c2ffe6e6dd8eaf0329f2297936
Merge pull request #3388 from guusdk/OF-3306_pubsub-reduce-memory-footprint-subscriptions
OF-3306: Reduce memory footprint of Pubsub subscription -
Guus der Kinderen c17dbbb567b64d9e283ece1b7b0419afb5e9a204
OF-3306: Reduce memory footprint of Pubsub subscription
The issue in OF-3306 relates to a large amount of `NodeSubscription` instances being loaded in memory. This commit does not address that, but does significantly reduce the memory footprint of each instance. This helps reduce the impact of the issue.
The memory footprint is reduced by switching from a Logger-instance per instance, to a static one that's shared with all instances.
In one heap dump that was analyzed, these Logger instances accounted for (very roughly) 15% of the heap size.- xmppserver/src/main/java/org/jivesoftware/openfire/pubsub/NodeSubscription.java (version c17dbbb567b64d9e283ece1b7b0419afb5e9a204)