Timeline for Python AWS Lambda, why did updating in place instead of creating and appending to a new list not decrease memory usage?
Current License: CC BY-SA 4.0
4 events
when toggle format | what | by | license | comment | |
---|---|---|---|---|---|
Apr 25, 2020 at 0:12 | comment | added | Reinderien | Maybe you meant that the references themselves go away when the function is done, which is true; but that won't immediately help memory consumption. | |
Apr 25, 2020 at 0:08 | comment | added | Reinderien | Variables that reference to all objects (here dicts) are kept until the function is active - First, you probably meant until the function is not active. And even so: this is incorrect. The Python garbage collector does not necessarily run at the end of every function. | |
Apr 24, 2020 at 17:25 | review | First posts | |||
Apr 24, 2020 at 17:46 | |||||
Apr 24, 2020 at 17:20 | history | answered | Yakovlev Pavel | CC BY-SA 4.0 |