[issue42502] Conflict between get_traced_memory and setrlimit

2020-11-29 Thread Vipul Cariappa


New submission from Vipul Cariappa :

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 
<https://bugs.python.org/issue42502>
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue42502] Conflict between get_traced_memory and setrlimit

2020-11-30 Thread Vipul Cariappa


Change by Vipul Cariappa :


--
resolution:  -> not a bug

___
Python tracker 
<https://bugs.python.org/issue42502>
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue42502] Conflict between get_traced_memory and setrlimit

2020-11-30 Thread Vipul Cariappa


Change by Vipul Cariappa :


--
stage:  -> resolved
status: open -> closed

___
Python tracker 
<https://bugs.python.org/issue42502>
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com