diff options
| author | 2024-07-18 20:59:06 +0000 | |
|---|---|---|
| committer | 2024-07-18 20:59:06 +0000 | |
| commit | ec5dcca57ec8a5f8b614414a4e1b284e0baf0d89 (patch) | |
| tree | 8b110c4e842c756018d5e78672d14075fad43470 /libs/androidfw/FileStream.cpp | |
| parent | 8fdaa6ea70b28a964b2471d904e94d0d2fb7233a (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