Search Issue Tracker
By Design
Votes
0
Found in
2017.4.0f1
2017.4.4f1
2018.4.0f1
2019.1.0a1
2019.2.0a1
2019.3.0a1
Issue ID
1115401
Regression
No
When receiving JSON via UnityWebRequest, memory is severely inflated even if small file (about 1MB) is used
To reproduce:
0) Download "downloader.cs"
1) Create a new project and import the script in
2) Edit the script so that the coroutine would be launched on Start()
3) Attach the script to any object in the scene
4) Open the profiler and mark it on Memory section
5) Play it
Expected: Minimal jump in memory after downloading
Actual: The memory differs in roughly 400-600 MB (depends on version)
Reproduced in 2017.4.0f1, 2017.4.29f1, 2018.4.2f1, 2019.3.0a6
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
- “[Worker0] Could not generate preview image“ error when opening macOS native plugin in the Inspector with Architecture to build for set to ARM 64-bit
- [iOS] Application.absoluteURL is empty on Awake/Start when opening via deep link with Splash Screen disabled
- Crash on MemoryManager::Deallocate when rapidly calling Addressables.LoadAssetAsync
- Crash on physx::shdfnd::atomicIncrement when adjusting values on a character controller component after entering Play mode in Prefab edit mode
- [Rendering Debugger] [NewInputSystem] Debug Overlays in Play mode throws InvalidOperationException when using New Input System
Resolution Note (2018.3.X):
DownloadHandlerBuffer allocates memory by design, this is a documented behavior.