diff options
author | Yao Chen <yaochen@google.com> | 2018-11-26 15:31:53 -0800 |
---|---|---|
committer | Yao Chen <yaochen@google.com> | 2018-11-26 15:48:20 -0800 |
commit | bd88bde97c8daabe1d1a24c0d77955fa3f5496a8 (patch) | |
tree | b86e5568336422bbaeac87f521e53e4a5c9e3f8d /tools/aapt2/java/JavaClassGenerator.cpp | |
parent | 588bdc6719523ed2fca73abcaae81233709c2895 (diff) |
Increase the guardrail limit for memory usage per config
+ Current guardrail for memory usage is too conservative, resulting lots of voluntary data drops
in statsd without trying to send broadcast.
+ Actual data upload size is smaller than the in memory data size. So keep the threshold to send
broadcast but lift the memory usage guardrail to give a chance to send broadcast.
+ Also, make byteSize() estimation less frequent.
Bug: 119773948
Test: statsd_test passes
Change-Id: Ia4c660eb47e6d442c0952628e910b494174279d0
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator.cpp')
0 files changed, 0 insertions, 0 deletions