-
Hi all, I'm trying to profile my python code on an ARMv7 system. I seem to hit different problems getting memray to run depending on how I build/run it. The closest I have gotten is to docker buildx bake build for the python docker image that I use and then run from there. Docker bake
memray-build
This sucessfully builds the memray.whl file for the architecture. And it seems to run on a Hello world python file. However, when I run against the actual codebase, I get a memory error.
Running the exact same image but with "python -m pyaware /etc/aware" instead of "python -m memray run -m pyaware /etc/aware"
Does anyone have any insight on how to get this working? |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 5 replies
-
I don't think Memray has ever been tested on aarch32 or ARMv7. I'd suggest trying to run Memray's test suite, and see whether it passes. That will tell us whether this is a problem of Memray not working properly on that architecture, or of Memray not playing nicely with the package you're testing it with. From a clone of the repo, the test dependencies can be installed with |
Beta Was this translation helpful? Give feedback.
I don't think Memray has ever been tested on aarch32 or ARMv7. I'd suggest trying to run Memray's test suite, and see whether it passes. That will tell us whether this is a problem of Memray not working properly on that architecture, or of Memray not playing nicely with the package you're testing it with. From a clone of the repo, the test dependencies can be installed with
pip3 install -r requirements-test.txt
, and from there apython3 -m pytest tests/
will run the test suite.