Search Unity

  1. Welcome to the Unity Forums! Please take the time to read our Code of Conduct to familiarize yourself with the forum rules and how to post constructively.
  2. We have updated the language to the Editor Terms based on feedback from our employees and community. Learn more.
    Dismiss Notice

Unity Editor - Empty Project - Memory Leak - Continuing consuming more memory

Discussion in 'Editor & General Support' started by OneCept-Games, Mar 3, 2020.

  1. OneCept-Games

    OneCept-Games

    Joined:
    Oct 21, 2016
    Posts:
    5
    MacOS: Catalina 10.15.3
    Unity Editor: 2019.3.3f1
    Issue:
    Creating a new empty 3D project, allocates about 200Mb of Memory. That is fine.
    After some time leaving the project idle (not doing anything, just leave the computer and go for a cup of coffee), memory consumption for Unity process have just increased to 1Gb, and if you leave if for a full day (again doing nothing), it is taking 30-40Gb of memory, and crashes when you start working with Unity.

    It seems Unity has a Memory Leak, even by deleting all scenes and packages and assets, it still is consuming more and more memory until it crashes.

    Could it be Catalina managing memory in a way Unity cannot handle?
    Anyone have observed the same issue, or have an idea what is causing this?

    I have now ordered 4x8Gb of RAM for my Mac (instead of the 8Gb it was born with), but i doubt it will solve this one.
     
  2. OneCept-Games

    OneCept-Games

    Joined:
    Oct 21, 2016
    Posts:
    5
    EDIT: After deleting all Unity Cache files, it never exceeds 2Gb :)
    So issues was somehow hidden in the Cache files, in case other meet similar issue.
     
  3. litebox

    litebox

    Joined:
    Aug 29, 2011
    Posts:
    158
    Hey, I'm struggling with similar problems with my two different project.
    By "deleting all Unity Cache files" - do you mean project cache files, or some Unity Editor's cache files?