Changes between Initial Version and Version 1 of Ticket #16022, comment 10
- Timestamp:
- Apr 12, 2022, 8:57:41 PM (3 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #16022, comment 10
initial v1 1 I just got hit with this. I created a [https://github.com/massover/possible-leak repo] with more info and tests that can reproduce the issue. The code in production was a logging statement that was accessing the file field. I only wanted to log the file name, not the file itself. By removing the log of the file field entirely, our memory utilization dropped by 1/4. The leaking model / file field is pretty crucial and is used in a majority our endpoints.1 I just got hit with this. I created a [https://github.com/massover/possible-leak repo] with more info and tests that can reproduce the issue. The code in production was a logging statement that was accessing the file field. I only wanted to log the file name, not the file itself. By removing the log of the file field entirely, our memory utilization is 1/4 what it used to be. The leaking model / file field is pretty crucial and is used in a majority our endpoints. 2 2 3 3 {{{