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. Dismiss Notice

Possible memory leaks 5.3.1p4

Discussion in 'Editor & General Support' started by AlteredPlanets, Jan 25, 2016.

  1. AlteredPlanets

    AlteredPlanets

    Joined:
    Aug 12, 2013
    Posts:
    455
    Hello,

    So when I run my game , at start it runs(still low because of low engine performance) , but then about 5 min later the game begins to run even slower , memory usage increases and then it crashes(also the did not move player or execute any in game actions)

    Also some times the editor sometimes crashes my GPU as well

    Please respond and I will post a report with a scene of this, because project is pretty large.

    does not happen in other apps on desktop

    Version Unity 5.3.1p4
     
  2. Tautvydas-Zilys

    Tautvydas-Zilys

    Unity Technologies

    Joined:
    Jul 25, 2013
    Posts:
    10,478
    Did you try attaching a profiler and seeing what is "begin slow" and what's allocating memory?

    That doesn't sound like something Unity (or any other program) should be able to do - might be a driver issue on your end.
     
  3. AlteredPlanets

    AlteredPlanets

    Joined:
    Aug 12, 2013
    Posts:
    455
    I agree, but no other App on my PC causes that to happen
     
  4. nasos_333

    nasos_333

    Joined:
    Feb 13, 2013
    Posts:
    12,827
    Ususally i discover memory leaks by opening the Task Manager and start eliminating scene items until the memory stops increasing to pinpoint the source of the issue.

    In my case most of the time was some mesh that got created as temporary with "New mesh();" and then passed to another mesh and was not destroyed for example and stopped as soon as i turned the offending script off.

    Also are you in Windows or Mac ? There are several issues i have seen reported on Mac with major performance problems.