[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 ___ ___ Python-bugs-list mailing list Un

[issue42502] Conflict between get_traced_memory and setrlimit

2020-11-30 Thread Vipul Cariappa
Change by Vipul Cariappa : -- resolution: -> not a bug ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https

[issue42502] Conflict between get_traced_memory and setrlimit

2020-11-30 Thread STINNER Victor
STINNER Victor added the comment: > I am trying to limit the memory consumption of a function This issue is not a bug in Python, but a question. I suggest to close it and ask your question on a forum to get help. -- ___ Python tracker

[issue42502] Conflict between get_traced_memory and setrlimit

2020-11-29 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: 1 KiB is too low for Python. The interpreter itself needs more than 10 MiB to start, and more if it imports some modules. I suppose that the limit set affect only new requests for memory from OS, but Python already have some free memory reserved in the mem

[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 ex