アプリのリリース バージョンをビルドしようとすると、このエラーが発生します。かなり大きい単一のファイルに対してエラーがスローされますが、400 + MB (KB) にはほど遠いです。
Out of memory allocating 455627472 bytes after a total of 0 bytes
Command /Developer/Platforms/iPhoneOS.platform/developerusr/bin/gcc-4.2 failed with exit code 1
3GB の空き RAM (6GB のうち)、十分な CPU パワー、およびハード ドライブに 50GB の空き容量があります。この問題の原因は何ですか?
エラーについて見つけた追加情報:
エラーについて見つけた詳細情報は次のとおりです。
cc1obj(19764) malloc: *** mmap(size=455630848) failed (error code=12)
*** error: can't allocate region
*** set a breakpoint in malloc_error_break to debug
cc1obj: out of memory allocating 455627472 bytes after a total of 0 bytes
{standard input}:unknown:Undefined local symbol L_objc_msgSendSuper2$stub
{standard input}:unknown:Undefined local symbol L_objc_msgSend$stub
{standard input}:unknown:Undefined local symbol L_OBJC_CLASSLIST_SUP_REFS_$_0
{standard input}:unknown:Undefined local symbol L_OBJC_SELECTOR_REFERENCES_26
{standard input}:unknown:Undefined local symbol L_OBJC_SELECTOR_REFERENCES_23
{standard input}:unknown:Undefined local symbol L_OBJC_SELECTOR_REFERENCES_25
{standard input}:unknown:Undefined local symbol L_OBJC_SELECTOR_REFERENCES_5
{standard input}:unknown:Undefined local symbol L_OBJC_CLASSLIST_REFERENCES_$_2
{standard input}:unknown:Undefined local symbol L_OBJC_SELECTOR_REFERENCES_19
{standard input}:unknown:Undefined local symbol L_OBJC_SELECTOR_REFERENCES_16
{standard input}:unknown:Undefined local symbol L_OBJC_SELECTOR_REFERENCES_15
{standard input}:unknown:Undefined local symbol L_OBJC_SELECTOR_REFERENCES_20
{standard input}:unknown:Undefined local symbol L_OBJC_CLASSLIST_REFERENCES_$_5
{standard input}:unknown:Undefined local symbol L_OBJC_SELECTOR_REFERENCES_2
{standard input}:unknown:Undefined local symbol L_OBJC_SELECTOR_REFERENCES_21
{standard input}:unknown:Undefined local symbol L_OBJC_SELECTOR_REFERENCES_24
{standard input}:unknown:Undefined local symbol L_OBJC_SELECTOR_REFERENCES_22
{standard input}:unknown:Undefined local symbol L_OBJC_SELECTOR_REFERENCES_11
{standard input}:unknown:Undefined local symbol L_OBJC_CLASSLIST_REFERENCES_$_4
{standard input}:unknown:Undefined local symbol L_OBJC_SELECTOR_REFERENCES_12
{standard input}:unknown:Undefined local symbol L_OBJC_SELECTOR_REFERENCES_13
{standard input}:unknown:Undefined local symbol L_OBJC_SELECTOR_REFERENCES_14
{standard input}:unknown:Undefined local symbol L_OBJC_SELECTOR_REFERENCES_18
{standard input}:unknown:Undefined local symbol L_OBJC_SELECTOR_REFERENCES_17
{standard input}:unknown:Undefined local symbol L_OBJC_SELECTOR_REFERENCES_10
Command /Developer3.1Final/Platforms/iPhoneOS.platform/Developer/usr/bin/gcc-4.2 failed with exit code 1