summaryrefslogtreecommitdiff
path: root/libs/androidfw/FileStream.cpp
diff options
context:
space:
mode:
author T.J. Mercier <tjmercier@google.com> 2024-07-18 20:59:06 +0000
committer T.J. Mercier <tjmercier@google.com> 2024-07-18 20:59:06 +0000
commitec5dcca57ec8a5f8b614414a4e1b284e0baf0d89 (patch)
tree8b110c4e842c756018d5e78672d14075fad43470 /libs/androidfw/FileStream.cpp
parent8fdaa6ea70b28a964b2471d904e94d0d2fb7233a (diff)
Adjust procfs heap buffer growth limit to 64 MiB
The current 1 GiB limit is excessive, and would result in extreme amounts of copying for very large files. Files read by android_os_Process_readProcFile should be well under this new limit, and most should only use the stack buffer anyways. Bug: 351917521 Test: cuttlefish boot Change-Id: I37da934b5e66d9b56da928dabd7e115e2ed6dca7
Diffstat (limited to 'libs/androidfw/FileStream.cpp')
0 files changed, 0 insertions, 0 deletions