Jack DeVries <jdevries3...@gmail.com> added the comment:

This doesn't look like a bug. It's hard to disentangle what your code is doing, 
exactly, but it's most likely that between all your nested loops and classes 
initializing each other, there is an exponential or greater growth in time 
complexity happening. As your input values grow, the program slows down at an 
exponential rate until it appears to just "hang".

The RAM is growing because the program hasn't really stopped running, it's just 
dutifully chugging along and filling up more and more memory, and if you waited 
long enough the program would either crash having run out of memory or maybe 
the program would complete in a very, very long time.

I hope I'm not missing something; feel free to let me know, or share a more 
minimal example to reproduce the issue.

----------
nosy: +jack__d

_______________________________________
Python tracker <rep...@bugs.python.org>
<https://bugs.python.org/issue44421>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to