Search Unity

iOS Bulding Error ( EXC_RESOURCE RESOURCE_TYPE_MEMORY (limit=2048 MB, unused=0x0))

Discussion in 'iOS and tvOS' started by udede, Jul 18, 2018.

  1. udede

    udede

    Joined:
    Jul 26, 2011
    Posts:
    72
    Hi

    I am using 5.6.6 version

    I have this error

    Thread 1: EXC_RESOURCE RESOURCE_TYPE_MEMORY (limit=2048 MB, unused=0x0)

    city was compiled with optimization - stepping may behave oddly; variables may not be available.
     
  2. udede

    udede

    Joined:
    Jul 26, 2011
    Posts:
    72
    help me please!!!

    thanks!
     
  3. udede

    udede

    Joined:
    Jul 26, 2011
    Posts:
    72
    why does nobody write something??
     
  4. abgamers

    abgamers

    Joined:
    Dec 22, 2009
    Posts:
    97
    have you able to solve this issue.
    My app is super simple its simple scrollview which load data & few images dynamically from server
    and yet its crashing with the error "Thread 1: EXC_RESOURCE RESOURCE_TYPE_MEMORY (limit=650 MB, unused=0x0)"

    not sure what to do
     
  5. dholley

    dholley

    Joined:
    Apr 21, 2018
    Posts:
    1
    I have the same issue
     
  6. bhargavramvanaparthi

    bhargavramvanaparthi

    Joined:
    Jul 9, 2019
    Posts:
    1
    Even i am facing the same issue "Thread 1: EXC_RESOURCE RESOURCE_TYPE_MEMORY (limit=650 MB, unused=0x0)".Unable to analyse the scenario which is raising this crash,

    any solution to solve this.
     
  7. Neonlyte

    Neonlyte

    Joined:
    Oct 17, 2013
    Posts:
    516
    The error message is pretty obvious: the program crashed because of using too much memory.

    Use memory profiler in Unity (the one in Profiler or the newer Memory Profiler package) to observe memory allocations of your project, first in Unity Editor, then in Player.

    You can also analyze your code and see if there has been any abandoned object. For example, GameObjects do not destroy themselves after being created.
     
    siddharth3322 likes this.
  8. headlessstudio

    headlessstudio

    Joined:
    Feb 25, 2016
    Posts:
    83
  9. Rachan

    Rachan

    Joined:
    Dec 3, 2012
    Posts:
    779
    I have a same issue too