Skip to content

hdrs async open can cause memory leak #129

@fMeow

Description

@fMeow

Change async_open back to open massively reduce memory usage. Invesigating.

  • updated (2024.03.23)
    Setting log level to TRACE, I foundhdrs::File instances correctly dropped. And I tried offload hdrs file reading operation to avoid blocking on async runtime via tokio::task::spawn_blocking and it works like a charm. So it is highly possible that the underlying blocking mechanism currently at use is at fault.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions