[issue42502] Conflict between get_traced_memory and setrlimit

Vipul Cariappa report at bugs.python.org
Sun Nov 29 07:04:34 EST 2020


New submission from Vipul Cariappa <vipulcariappa at 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 <report at bugs.python.org>
<https://bugs.python.org/issue42502>
_______________________________________


More information about the Python-bugs-list mailing list