Skip to content

memory leaks #2380

@dralley

Description

@dralley

I was running the microbenchmarks and kept getting SIGTERM, apparently it was exhausting my 16gb of memory + 8gb of swap.

I reran the tests to try to figure out which microbenchmarks were triggering the leaks in RustPython:

  • exception_nested.py

Screenshot from 2020-12-24 14-35-46

  • complex_class.py

Screenshot from 2020-12-24 14-37-51

  • define_function.py

Screenshot from 2020-12-24 14-41-47

  • call_simple.py

Screenshot from 2020-12-24 14-42-09

  • call_kwargs.py

Screenshot from 2020-12-24 14-44-16

  • construct_object.py

Screenshot from 2020-12-24 14-46-25

This is the point where it died again, so maybe there are more. Or maybe they all have the same root causes 🤷

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions