{"push_id":1006431669,"size":1,"distinct_size":1,"ref":"refs/heads/master","head":"72a7312ce91487256695d6c461e4c4dff52916be","before":"9173bea01c8a53b774342f004e6e221da99a6d02","commits":[{"sha":"72a7312ce91487256695d6c461e4c4dff52916be","author":{"email":"46f1a0bd5592a2f9244ca321b129902a06b53e03@alexanderschnitzler.de","name":"Alexander Schnitzler"},"message":"[BUGFIX] Avoid memory leak during file searches\n\nDuring the file search in the file module the search result\nis only limited to possibly matching folders. That itself\ndecreases the search over all files in a storage but it\nstill does not prevent memory leaks, where the result\nof possible folders contain a decent amount of files.\n\nExample:\nfileadmin has a total of 10.000 files.\nfileadmin has a subfolder called foo\nfileadmin/foo holds a subset of 1000 files.\nfileadmin/foo holds the file bar\n\nA search for bar asks the database for all folders that contain\nfiles with the matching identifier bar. As a result, only the\nfolder fileadmin/foo is returned which already excludes 9000\npossible files.\n\nStill, the resultset contains 1000 files, whoose name is\ncompared php-wise with the search string. During that\nforeach loop each a file object with a decent memory\nfootprint will be created. This easily exceeds the\navailable memory limit.\n\nResolves: #73032\nReleases: master, 7.6\nChange-Id: Icf46e05274c671db344797d207afefc029c5fb5b\nReviewed-on: https://review.typo3.org/46395\nReviewed-by: Frank Naegler <frank.naegler@typo3.org>\nReviewed-by: Daniel Maier <dani-maier@gmx.de>\nTested-by: Daniel Maier <dani-maier@gmx.de>\nReviewed-by: Christian Kuhn <lolli@schwarzbu.ch>\nTested-by: Christian Kuhn <lolli@schwarzbu.ch>","distinct":true,"url":"https://api.github.com/repos/TYPO3/TYPO3.CMS/commits/72a7312ce91487256695d6c461e4c4dff52916be"}]}