View Issue Details
|ID||Project||Category||View Status||Date Submitted||Last Update|
|0031117||Runner||Buffers||Public||2019-07-01 15:32||2019-08-19 12:12|
|Reporter||Dan||Assigned To||Russell Kay|
|Priority||Medium||Severity||B - Major||Reproducibility||100%|
|Platform||Windows||OS||Windows 10||OS Version||Pro x64|
|Target Version||2.2.4||Fixed in Version||2.2.4|
|Summary||0031117: Buffers: buffer_compress() appears to cause a memory leak the size of the source buffer|
|Description||As you can see in the attached sample, buffer_compress() appears to cause a memory leak the size of the source buffer. I have reproduced the issue and then sat and watched the memory usage in the debugger for about 10 mins, and the amount of RAM used did not drop.|
Have also tried the theory on the GMC thread that this is caused by making, compressing and deleting the buffer all in one step, but splitting the delete part off into an alarm and firing this later does not change the results.
|Steps To Reproduce||1. Run the attached sample in the debugger for Windows VM.|
2. Observe the RAM usage starts at about 8.5MB.
3. Press and release the spacebar and observe it jumps by about 1MB each time you do this and does not go back down again.
|1.4 Found In|
|2.x Runtime Found In||22.214.171.1246|
|2.x Runtime Verified In||126.96.36.1991|