There is an undocumented feature in Apple Media Tool 2.0 to increase the project Heap and Stack, which allows you to build larger and more complex projects.
To increase the project Heap and Stack, hold down the Control key on the keyboard while launching Apple Media Tool and Runtime Maker. You should increase the size of the heap from 4K to 10K to build and compile larger and more complex projects.