Abacn commented on code in PR #30034:
URL: https://github.com/apache/beam/pull/30034#discussion_r1457702530


##########
sdks/java/harness/src/main/java/org/apache/beam/fn/harness/Caches.java:
##########
@@ -65,8 +65,7 @@ public final class Caches {
    */
   private static final long CACHE_SIZE_CHANGE_LIMIT_BYTES = 1 << 16;
 
-  private static final MemoryMeter MEMORY_METER =
-      MemoryMeter.builder().withGuessing(Guess.BEST).build();

Review Comment:
   The API of official jamm 0.4 has adjusted to be different than the community 
one. BEST is the default for Builder and its not an enum: 
https://github.com/jbellis/jamm/blob/4b475b906d9a5dcef523db49124fbb8f68e67ee0/src/org/github/jamm/MemoryMeter.java#L589



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to