Pablo Galindo Salgado

Results 329 comments of Pablo Galindo Salgado

Seems that we have a segfault in alpine: ``` tests/integration/test_tracking.py::test_simple_allocation_tracking_sampling[realloc-AllocatorType.REALLOC] Fatal Python error: Segmentation fault ```

Experiments executed for `python -m memray run -o /dev/null -m test test_list test_list test_list test_list test_list test_list test_list test_list test_list test_list` for a total duration of 1.2595737380001992 seconds in baseline....

Thanks, @larryhastings! I will add it to our agenda, although there's a bit of a backlog at the moment we will try to get it as soon as possible :)

Thanks! We will consider doing this feature but a workaround today is to check how much memory is using the test and then use the limit marker with the current...

> Is there a way we can instead add support for xdist? Yes, but is not trivial. The problem is that currently the information is collected by every worker but...

We use custom hooks, so unfortunately is very unlikely that we will be able to support it if pytest doesn't :(

We may be able to expose a context manager somehow and then pass the count as a value in there.

> So doing a context manager would require solving some potentially complicated API questions 🤔 Well, is not that this problem already doesn't require solving complicated API questions 😅

Note to self: add `-object_path_lto` if `--lto` is used. (DONE)

> The easy solution is to add this option unconditionally. It should be harmless for non-lto builds. That said, I haven't checked if the linker will complain/warn if the option...