Replies: 2 comments 1 reply
-
Thanks for reporting this, I will try to investigate. To answer your questions:
|
Beta Was this translation helpful? Give feedback.
1 reply
-
I've added a |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Thank you for your work on filprofiler. I am using version 2022.1.1 on Linux (x86-x64).
I have an issue that seems to be similar to #297.
I am trying to profile a scientific program that performs a lot of I/O (HDF5) for data that is then converted to NumPy arrays.
fil shows that 4 GB of memory are used, which seems low to me, but could be true.
However, fil attributes 99% of the memory to two initial import statements (similar to #297, but 50% each), which cannot be accurate:
Probably I/O is performed by mmaping files after opening them. strace shows 2500 calls to mmap and 1078 to brk
Questions:
Does fil track mmap as well as sbrk?
Does fil have any issue with Python multiprocessing? Does it track forks and child processes? strace shows several child processes (9 SIGCHLD). Although I set the number of processes to 1, I am guessing that the multiprocessing scheduler launches a helper by default.
Thank you for any thoughts.
Beta Was this translation helpful? Give feedback.
All reactions