Search Unity

Could not allocate memory: System out of memory! (WindowsPhone)

Discussion in 'Windows' started by juliancruz, Dec 12, 2013.

  1. juliancruz

    juliancruz

    Joined:
    Feb 18, 2013
    Posts:
    25
    Hi, I'm trying to build my game in Windows Phone, with a unity 4.3.1, and when I play for a moment, the game going to crash and shows me this.

    ******************************************************************************************

    Could not allocate memory: System out of memory!
    Trying to allocate: 479232B with 4 alignment. MemoryLabel: NewDelete
    Allocation happend at: Line:0 in Overloaded New[]
    Memory overview


    [ ALLOC_DEFAULT ] used: 18733307B | peak: 22838613B | reserved: 22575710B

    [ ALLOC_GAMEOBJECT ] used: 1963287B | peak: 2817435B | reserved: 2268175B

    [ ALLOC_GFX ] used: 2594689B | peak: 32616180B | reserved: 2640919B

    [ ALLOC_PROFILER ] used: 132800B | peak: 176808B | reserved: 382971B

    Could not allocate memory: System out of memory!
    Trying to allocate: 479232B with 4 alignment. MemoryLabel: NewDelete
    Allocation happend at: Line:0 in Overloaded New[]
    Memory overview


    [ ALLOC_DEFAULT ] used: 18733307B | peak: 22838613B | reserved: 22575710B

    [ ALLOC_GAMEOBJECT ] used: 1963287B | peak: 2817435B | reserved: 2268175B

    [ ALLOC_GFX ] used: 2594689B | peak: 32616180B | reserved: 2640919B

    [ ALLOC_PROFILER ] used: 132800B | peak: 176808B | reserved: 382971B


    (Filename: C:/BuildAgent/work/d3d49558e4d408f4/Runtime/Allocator/MemoryManager.cpp Line: 793)


    The program '[1132] TaskHost.exe' has exited with code -2147483645 (0x80000003).


    ******************************************************************************************

    I don't understand why the windows phone crashing always if I try to run the game in a nokia lumia 520, and his technical specifications are same to the iphone 4, and my game runs correctly in the iphone 4.

    please what's wrong ?
     
  2. Tautvydas-Zilys

    Tautvydas-Zilys

    Unity Technologies

    Joined:
    Jul 25, 2013
    Posts:
    10,674
    Did you monitor application memory usage? Lumia 520 allows apps to use up to 180 MB of RAM, while iPhone 4 limit is a bit higher.
     
  3. Meltdown

    Meltdown

    Joined:
    Oct 13, 2010
    Posts:
    5,822