New submission from Vipul Cariappa <vipulcaria...@gmail.com>:
I would first like to thank the python developers, contributors and the community for this wonderful programming language. I am trying to limit the memory consumption of a function; at the same time trying to figure out the maximum memory used during the execution of the same function. I have uploaded the source code and the output of the program I am using to achieve this. The Memory Used is more than the Memory Limit I have set. Is this the expected output. Or a bug in the code. I am using Python3.8 in ubuntu 20.04 wsl. Any suggestion regarding implementing the functionality I have mentioned would be helpful. And I am very very sorry if this is the expected output. Thank You. ---------- files: memory.py messages: 382056 nosy: Vipul-Cariappa priority: normal severity: normal status: open title: Conflict between get_traced_memory and setrlimit type: resource usage versions: Python 3.8 Added file: https://bugs.python.org/file49636/memory.py _______________________________________ Python tracker <rep...@bugs.python.org> <https://bugs.python.org/issue42502> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com