Github user aledsage commented on a diff in the pull request: https://github.com/apache/brooklyn-server/pull/331#discussion_r80223403 --- Diff: utils/common/src/main/java/org/apache/brooklyn/util/javalang/MemoryUsageTracker.java --- @@ -68,5 +87,76 @@ public long getBytesUsed() { memoryTrackedReferences.cleanUp(); return bytesUsed.get(); } + + /** forces all soft references to be cleared by trying to allocate an enormous chunk of memory, + * returns a description of what was done + * (tune with with {@link #forceClearSoftReferences(long, int)} --- End diff -- typo: "with with"
--- If your project is set up for it, you can reply to this email and have your reply appear on GitHub as well. If your project does not have this feature enabled and wishes so, or if the feature is enabled but not working, please contact infrastructure at infrastruct...@apache.org or file a JIRA ticket with INFRA. ---