brooklyn-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From neykov <>
Subject [GitHub] brooklyn-server issue #426: Improve robustness of MemoryUsageTrackerTest
Date Thu, 10 Nov 2016 15:54:30 GMT
Github user neykov commented on the issue:
    Looks good and works much better, see the [new build](
    2016-11-10 15:47:31,205 INFO  TESTNG INVOKING: "Surefire test" - org.apache.brooklyn.util.javalang.MemoryUsageTrackerTest.testSoftUsageAndClearance()
    2016-11-10 15:47:31,206 INFO  Memory usage at start of test: MemoryUsageSummary{total=772
MB, free=652 MB, used=120 MB, usedFraction=0.1555049937704335}
    SUREFIRE-859: [GC (Allocation Failure)  265638K->264541K(753664K), 0.0252673 secs]
    SUREFIRE-859: [GC (Allocation Failure)  460429K->459760K(753152K), 0.0260455 secs]
    SUREFIRE-859: [Full GC (Ergonomics)  459760K->351817K(753152K), 0.0518254 secs]
    SUREFIRE-859: [Full GC (Ergonomics)  548263K->548101K(753152K), 0.1852436 secs]
    SUREFIRE-859: [Full GC (Ergonomics)  719375K->718997K(753152K), 0.0680970 secs]
    SUREFIRE-859: [Full GC (Ergonomics)  720275K->719974K(753152K), 0.0546380 secs]
    SUREFIRE-859: [Full GC (Allocation Failure)  719974K->8048K(753152K), 0.0267869 secs]
    2016-11-10 15:47:31,782 INFO  First soft reference cleared after 730 1M blocks created;
729 of them cleared; memory just before collected is MemoryUsageSummary{total=771 MB, free=33.7
MB, used=738 MB, usedFraction=0.9563477890253229}
    SUREFIRE-859: [Full GC (Ergonomics)  704594K->702492K(753152K), 0.2032216 secs]
    SUREFIRE-859: [Full GC (Ergonomics)  712258K->711185K(753152K), 0.0347821 secs]
    SUREFIRE-859: [Full GC (Allocation Failure)  711185K->711185K(753152K), 0.0322254 secs]
    SUREFIRE-859: [Full GC (System.gc())  711185K->8055K(753152K), 0.0285412 secs]
    SUREFIRE-859: [GC (System.gc())  8055K->8055K(645632K), 0.0029759 secs]
    SUREFIRE-859: [Full GC (System.gc())  8055K->8055K(645632K), 0.0225672 secs]
    2016-11-10 15:47:32,244 INFO  Forcing memory eviction: allocated 725 MB +- 5 MB really
free memory in 10 MB chunks; memory used from 11.5 MB -> 8.25 MB / 661 MB
    SUREFIRE-859: [GC (System.gc())  9315K->8215K(699392K), 0.0011906 secs]
    SUREFIRE-859: [Full GC (System.gc())  8215K->8063K(699392K), 0.0333181 secs]
    SUREFIRE-859: [GC (System.gc())  8063K->8063K(699392K), 0.0021073 secs]
    SUREFIRE-859: [Full GC (System.gc())  8063K->8063K(699392K), 0.0225468 secs]
    2016-11-10 15:47:32,305 INFO  Final memory usage (after forcing clear, and GC): MemoryUsageSummary{total=716
MB, free=708 MB, used=8.26 MB, usedFraction=0.01152881940671326}
    2016-11-10 15:47:32,305 INFO  TESTNG PASSED: "Surefire test" - org.apache.brooklyn.util.javalang.MemoryUsageTrackerTest.testSoftUsageAndClearance()
finished in 1100 ms

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 or file a JIRA ticket
with INFRA.

View raw message