Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Looking forward to supporting more scenarios #19

Open
silence-coding opened this issue Feb 24, 2023 · 2 comments
Open

Looking forward to supporting more scenarios #19

silence-coding opened this issue Feb 24, 2023 · 2 comments

Comments

@silence-coding
Copy link

How to analyze other processes running on linux (jemalloc)? On GitHub, I can't find any other python scripts.
image

@Bluekezhou
Copy link

Bluekezhou commented Feb 24, 2023 via email

@silence-coding
Copy link
Author

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));
    }
}

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants