diff --git a/casr/src/bin/casr-san.rs b/casr/src/bin/casr-san.rs index ffa3764d..9d2d2ad5 100644 --- a/casr/src/bin/casr-san.rs +++ b/casr/src/bin/casr-san.rs @@ -140,6 +140,9 @@ fn main() -> Result<()> { if sanitizers_stderr.contains("AddressSanitizer: hard rss limit exhausted") { bail!("Out of memory: hard_rss_limit_mb exhausted"); } + if sanitizers_stderr.contains("AddressSanitizer: out-of-memory") { + bail!("Out of memory"); + } // Create report. let mut report = CrashReport::new();