I am currently working on an FPS game in unity. I get this error all the time, mainly when exiting the scene. The white box appears and Unity freezes up. I have to force quit, it is really annoying and impeding on my work. Any help would be great.
My specs
-Macbook Pro 15"" Retina
2.3 GHz Core i7
8GB 1600 MHz DDR3 Ram
256GB SSD
Mac OS X 10.8.3
Unity Pro Version 4.1.2f1
This is the section of my Editor-prev.log which I think it screwing it up. BTW : The emoticons are the forum reading it wrong.
Unity(4130,0xaccdea28) malloc: *** mmap(size=16781312) failed (error code=12)
*** error: can’t allocate region
*** set a breakpoint in malloc_error_break to debug
Unity(4130,0xaccdea28) malloc: *** mmap(size=8392704) failed (error code=12)
*** error: can’t allocate region
*** set a breakpoint in malloc_error_break to debug
Unity(4130,0xaccdea28) malloc: *** mmap(size=16781312) failed (error code=12)
*** error: can’t allocate region
*** set a breakpoint in malloc_error_break to debug
Unity(4130,0xaccdea28) malloc: *** mmap(size=8392704) failed (error code=12)
*** error: can’t allocate region
*** set a breakpoint in malloc_error_break to debug
Unity(4130,0xaccdea28) malloc: *** mmap(size=16781312) failed (error code=12)
*** error: can’t allocate region
*** set a breakpoint in malloc_error_break to debug
Unity(4130,0xaccdea28) malloc: *** mmap(size=8392704) failed (error code=12)
*** error: can’t allocate region
*** set a breakpoint in malloc_error_break to debug
Unity(4130,0xaccdea28) malloc: *** mmap(size=16781312) failed (error code=12)
*** error: can’t allocate region
*** set a breakpoint in malloc_error_break to debug
Unity(4130,0xaccdea28) malloc: *** mmap(size=8392704) failed (error code=12)
*** error: can’t allocate region
*** set a breakpoint in malloc_error_break to debug
Unity(4130,0xaccdea28) malloc: *** mmap(size=16781312) failed (error code=12)
*** error: can’t allocate region
*** set a breakpoint in malloc_error_break to debug
Unity(4130,0xaccdea28) malloc: *** mmap(size=8392704) failed (error code=12)
*** error: can’t allocate region
*** set a breakpoint in malloc_error_break to debug
Unity(4130,0xaccdea28) malloc: *** mmap(size=4198400) failed (error code=12)
*** error: can’t allocate region
*** set a breakpoint in malloc_error_break to debug
Unity(4130,0xaccdea28) malloc: *** mmap(size=2101248) failed (error code=12)
*** error: can’t allocate region
*** set a breakpoint in malloc_error_break to debug
Unity(4130,0xaccdea28) malloc: *** mmap(size=16781312) failed (error code=12)
*** error: can’t allocate region
*** set a breakpoint in malloc_error_break to debug
Unity(4130,0xaccdea28) malloc: *** mmap(size=8392704) failed (error code=12)
*** error: can’t allocate region
*** set a breakpoint in malloc_error_break to debug
Unity(4130,0xaccdea28) malloc: *** mmap(size=2232320) failed (error code=12)
*** error: can’t allocate region
*** set a breakpoint in malloc_error_break to debug
DynamicHeapAllocator out of memory - Could not get memory for large allocationCould not allocate memory: System out of memory!
Trying to allocate: 2197376B with 32 alignment. MemoryLabel: VertexData
Allocation happend at: Line:477 in /Applications/buildAgent/work/7535de4ca26c26ac/Runtime/Filters/Mesh/VertexData.cpp
Memory overview
[ ALLOC_TEMP_THREAD ] used: 2468642B | peak: 0B | reserved: 65536B
[ ALLOC_DEFAULT ] used: 297827481B | peak: 0B | reserved: 374512658B
[ ALLOC_GFX ] used: 713715680B | peak: 0B | reserved: 739757432B
[ ALLOC_CACHEOBJECTS ] used: 2582892B | peak: 0B | reserved: 25165824B
[ ALLOC_TYPETREE ] used: 2126367B | peak: 0B | reserved: 67108864B
[ ALLOC_PROFILER ] used: 4232B | peak: 0B | reserved: 4194304B
Could not allocate memory: System out of memory!
Trying to allocate: 2197376B with 32 alignment. MemoryLabel: VertexData
Allocation happend at: Line:477 in /Applications/buildAgent/work/7535de4ca26c26ac/Runtime/Filters/Mesh/VertexData.cpp
Memory overview
[ ALLOC_TEMP_THREAD ] used: 2468642B | peak: 0B | reserved: 65536B
[ ALLOC_DEFAULT ] used: 297827481B | peak: 0B | reserved: 374512658B
[ ALLOC_GFX ] used: 713715680B | peak: 0B | reserved: 739757432B
[ ALLOC_CACHEOBJECTS ] used: 2582892B | peak: 0B | reserved: 25165824B
[ ALLOC_TYPETREE ] used: 2126367B | peak: 0B | reserved: 67108864B
[ ALLOC_PROFILER ] used: 4232B | peak: 0B | reserved: 4194304B
UnityEngine.DetailRenderer:Render(Camera, Single, Int32, Single)
UnityEngine.Terrain:CullAllTerrains(Int32)
UnityEngine.Camera:Render()
PlanarReflection:RenderReflectionFor(Camera, Camera) (at Assets/Standard Assets/Water (Pro Only)/Water4/Sources/Scripts/PlanarReflection.cs:171)
PlanarReflection:RenderHelpCameras(Camera) (at Assets/Standard Assets/Water (Pro Only)/Water4/Sources/Scripts/PlanarReflection.cs:80)
PlanarReflection:WaterTileBeingRendered(Transform, Camera) (at Assets/Standard Assets/Water (Pro Only)/Water4/Sources/Scripts/PlanarReflection.cs:93)
WaterTile:OnWillRenderObject() (at Assets/Standard Assets/Water (Pro Only)/Water4/Sources/Scripts/WaterTile.cs:41)
UnityEditor.EditorGUIUtility:INTERNAL_CALL_RenderGameViewCameras(Rect, Boolean, Boolean)
UnityEditor.EditorGUIUtility:RenderGameViewCameras(Rect, Boolean, Boolean)
UnityEditor.GameView:OnGUI()
System.Reflection.MonoMethod:InternalInvoke(Object, Object[ ], Exception)
System.Reflection.MonoMethod:Invoke(Object, BindingFlags, Binder, Object[ ], CultureInfo) (at /Applications/buildAgent/work/b59ae78cff80e584/mcs/class/corlib/System.Reflection/MonoMethod.cs:222)
System.Reflection.MethodBase:Invoke(Object, Object[ ]) (at /Applications/buildAgent/work/b59ae78cff80e584/mcs/class/corlib/System.Reflection/MethodBase.cs:115)
UnityEditor.HostView:Invoke(String, Object)
UnityEditor.HostView:Invoke(String)
UnityEditor.MaximizedHostView:OnGUI()
[/Applications/buildAgent/work/7535de4ca26c26ac/Runtime/Allocator/MemoryManager.cpp line 885]
(Filename: Assets/Standard Assets/Water (Pro Only)/Water4/Sources/Scripts/PlanarReflection.cs Line: 171)
Any help would be great. Thanks

