Skip to content

Commit

Permalink
Memory estimate for broadcast updated
Browse files Browse the repository at this point in the history
  • Loading branch information
fschueler committed Apr 27, 2016
1 parent 3d30bb0 commit faa454a
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -437,7 +437,7 @@ public static double getBroadcastMemoryBudget() {
}

//70% of remaining free memory, flink uses network buffers for broadcast variables
return OptimizerUtils.MEM_UTIL_FACTOR * _memNetworkBuffers;
return OptimizerUtils.MEM_UTIL_FACTOR * (_memTaskManagerTotal - _memTaskManagerManaged - _memNetworkBuffers);
}

public static double getConfiguredTotalDataMemory() {
Expand Down

0 comments on commit faa454a

Please sign in to comment.