Hello, are there are any options to ASAN to decrease virtual memory consumption?
With best regards, Alexei четверг, 2 мая 2019 г. в 22:53:08 UTC+2, Evgeniy Stepanov: > Depends on the application a lot. There is a large constant overhead > component; then there is the quarantine that has the upper per-thread > limit, which means long-running processes tend to use more RAM with > time, but also saturate at some point. This can be tuned with runtime > flags. > > We often see somewhere between 2x and 3x memory overhead on large programs. > > On Thu, May 2, 2019 at 1:01 PM David Lam <[email protected]> wrote: > > > > How much extra memory do ASAN builds use? There's a paper from 2012 > saying that: > > > > https://www.usenix.org/system/files/conference/atc12/atc12-final39.pdf > > > AddressSanitizer finds out-of-bounds accesses (for heap, stack, and > global objects) and uses of freed heap memory at the relatively low cost of > 73% slowdown and 3.4x increased memory usage, making it a good choice for > testing a wide range of C/C++ applications. > > > > Is this still current? > > > > Thanks! > > > > -- > > You received this message because you are subscribed to the Google > Groups "address-sanitizer" group. > > To unsubscribe from this group and stop receiving emails from it, send > an email to [email protected]. > > For more options, visit https://groups.google.com/d/optout. > -- You received this message because you are subscribed to the Google Groups "address-sanitizer" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/address-sanitizer/f0d2ccea-f9d4-482c-87c1-7f13c1932a5cn%40googlegroups.com.
