Open silence-coding opened 1 year ago
您的邮件已收到,谢谢!
Example:
use std::time::Duration;
#[global_allocator]
static GLOBAL: jemallocator::Jemalloc = jemallocator::Jemalloc;
fn main() {
let mut tmp = Vec::with_capacity(1024);
for i in 0..100000 {
let data =vec![i;1023*100];
tmp.extend(data);
std::thread::sleep(Duration::from_secs(1));
}
}
How to analyze other processes running on linux (jemalloc)? On GitHub, I can't find any other python scripts.