Search Issue Tracker
Fixed in 2020.1.X
Votes
19
Found in
2018.2.0b10
Issue ID
1054493
Regression
No
[Windows] Memory leak on .Net 4.x and x86 builds
To reproduce:
1. Download attached project "MemoryUsage.zip" and open in Unity
2. Open "SampleScene" scene
3. Enter Play mode
4. Observe that Memory usage is within 200 MB
5. Exit Play mode
6. Change Scripting Runtime Version to ".NET 3.5 Equivalent" and Scripting Backend to "Mono"
7. Set Target Platform to "Windows" and Architecture to "x86_64"
8. Build And Run
9. Observe that Memory usage is within 200 MB
10. Set Architecture to "x86"
11. Build And Run
12. Observe that Memory usage is within 200 MB
13. Change Scripting Runtime Version to ".NET 4.x Equivalent"
14. Set Architecture to "x86_64"
15. Build And Run
16. Observe that Memory usage is within 200 MB
17. Set Architecture to "x86"
18. Build And Run
Expected result: You will see that Memory usage is still within 200 MB
Actual result: You will see that Memory usage allocates up to 3GB until it produces "out of memory" exceptions
Notes:
- This issue reproduces only on Windows
- If you set Scripting Backend to "IL2CPP" and Architecture to "x86", the build will crash
Reproduced on Unity 2017.1.4p2, 2017.2.3p2, 2017.3.2f1, 2017.4.6f1, 2018.1.7f1, 2018.2.0b11 and 2018.3.0a3
Add comment
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- Assertions and errors appear while undoing prefab asset replacement
- Prefab Asset reference to itself changes when closed and reopened
- Adding "Vertical Layout Group" Component to a "TMP Button" and then pressing "Undo" does not change the Text position back
- Handles.RotationHandle and Handles.PositionHandle trigger prefab override when updating current values with the same values
- Undo operation doesn't undo an instance of prefab which was previously deleted and recreated from the same instance
mayasarii876
Mar 08, 2022 10:13
http://103.56.148.201/
http://103.56.148.201/newmpo
http://103.56.148.201/mpo17
http://103.56.148.201/mpomm
http://103.56.148.201/mpotower
http://103.56.148.201/parisklub
http://103.56.148.201/juraganslot
http://103.56.148.201/mpo500
http://103.56.148.201/mpokick
http://103.56.148.201/mpoyes
http://103.56.148.201/xyzklub
http://103.56.148.201/betmpo
http://103.56.148.201/ogslot88
http://103.56.148.201/hoki777
http://103.56.148.201/mpojuta
http://103.56.148.201/299slot
http://103.56.148.201/mpo188
http://103.56.148.201/mpogacor
http://103.56.148.201/mpo300
http://103.56.148.201/rgo365
http://103.56.148.201/kingdom288
http://103.56.148.201/wigompo
http://103.56.148.201/mpo8899
http://103.56.148.201/mpopelangi
http://103.56.148.201/mpo555
http://103.56.148.201/dutampo
http://103.56.148.201/klik368
http://103.56.148.201/388hero
http://103.56.148.201/19dewa
http://103.56.148.201/mpoxl
http://103.56.148.201/mpoas
http://103.56.148.201/mposun
http://103.56.148.201/qqslot
http://103.56.148.201/mposport
http://103.56.148.201/dewa234
http://103.56.148.201/mesinmpo
shangkun
Mar 12, 2021 08:39
Please fix this in 2018 or 2019 as well!
EdgarRodrigoSantos
Dec 15, 2020 15:46
Is this fix not going to be available in 2019LTS? This is causing massive memory leaks on Hololens 2 apps (ARM).
holoben22
Oct 21, 2020 22:01
Please fix this in 2018 or 2019 as well!
SR_Developer
Aug 29, 2020 16:05
Is this going to be back fixed to 2018 or 2019 LTS?
stefan-studiocenturion
Jun 06, 2020 22:32
We've hit this bug too in 2018.4 LTS (our x86 build runs out of memory whereas x64 builds stay at 500MB consistently) - any chance of implementing this fix in past LTS versions?
HighSkillz
Feb 07, 2020 15:42
Will we have to wait until 2020.1 (release, we don't want to use alfa or beta builds) to get this fixed? Why not backport this to 2019 releases? This is a very serious issue...
mdeverdelhan
Sep 27, 2019 09:16
We also have this bug, and it's blocking us on hololens (V1) on version 2018.4.8f1. As we are stick with X86 builds on this plateform, is there any plan to have a patch for this bug on 2018 LTS versions ?
MartinGrman
Sep 09, 2019 13:13
Also reproducible in Unity 2018.4.8 in UWP il2cpp x86 builds (x64 is fine).
See https://bitbucket.org/reflekt/unity_il2cpp_memory_bug/src/master/
unormal
Jul 09, 2019 06:12
Please, this is such a critical issue, it's been a year. I'm begging you.