History log of /frameworks/av/media/libmedia/MediaUtils.cpp
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
4bc7ad9e0ea04928e7ed9767251696cc4a4e5d15 02-Oct-2016 Jeff Vander Stoep <jeffv@google.com> mediaextractor: Skip setting memory limits on ASan builds

ASan-ified libraries have a larger memory footprint which counts
towards a process's RLIMIT_AS. Detect ASan at runtime and skip
setting memory limits.

Test: Builds and boots. "MediaUtils: running with ASan, not setting
memory limits" appears in logcat, mediaextractor is no longer
crashing.

Bug: 31831213
Change-Id: I6705baa825cbfd45695def2cd80d8d2261b05339
/frameworks/av/media/libmedia/MediaUtils.cpp
c57fe21ebdd6813c5a8954f3fda51b82d26acd07 31-May-2016 Marco Nelissen <marcone@google.com> limit mediaextractor memory

Limit mediaextractor using rlimit, to prevent it from bringing down the system
via the low memory killer.

Bug: 28471206
Bug: 28615448
Change-Id: Ic84137435d1ef0a6883e9789a4b4f399e4283f05
/frameworks/av/media/libmedia/MediaUtils.cpp