I have received the exact SAME error trying to produce a 30 minute 1080p HD movie on my new Macbook Pro 2.3 Mhz Core i5 with 4 GIG of Ram and 500 GIG HD. I can produce the SAME movie at 720P with no issue. I am receiving the SAME exact error about the same time you are describing,
Apple, there is a problem here. Please address.
what a pain! I've tried every suggestion... got rid of all FlipVideo files, cleared RAM cache, booted in Safe Mode, disconnected all periphery items from MacMini, renamed the file, deleted the iMovie preferences file, moved all other projects from library except for the project I'm trying to export.
I get 2/3rd's of the way through then the "heap" error message comes up. Am I missing something else? Here's my specs.....
2011 Mac Mini Server
iMovie 11 v 9.0.4
Project is 98% iPhoto pics and 3 video clips no longer than 10 seconds each. Duration 17:31 - 30fps
Using Photo Album Theme
6 iTunes songs
Wondering if the project has TOO many title overlays.... for the viewer they are almost manditory since it's one of those ...."needed to be there" to understand the content of the picture.
Tried the project on the main hard drive, secondary hard drive then over to a 3TB external. All with the same result.
I can export to iDVD but maybe it's my imagination but the resolution is pretty poor. My goal is to export to media browser at 720p.
Would appreciate any and all suggestions.
Thanks in advance!
For a solution that works, see Brian Flaherty's post...
I had also tried restarting, removing special characters, shortening file name to 8 characters, on and on, everything suggested.
Have compared output using Brian's method with previous method -- same quality, but ...
1. It works!
2. The export completes in 1 hour, compared with 7+ hours using original method.
So happy to be able to export to Blu-Ray disc again!
Ok, I had been getting the heap error for some time now. WHen I took my MacBook Pro in to the shop because the fan was making bad noises they said they were going to replace the fan. I also told them about the heap zone error. They said that after they replaced the fan the movies were going through and evern faster. They said it might have been because the CPU was getting to hot and causing the error. So it might be worth a trip to the computer store and having them look and make sure all of your components are working correctly.
This pretty much explains it all. Copied from MacRumors:
I have the "true" answer to this age old question. It was also confirmed for me by a senior tech advisor at Apple. Here is my case number you can reference to prove it. Case #454595897. There is no fix. iMovie is a 32bit application and OS X is a 64bit operating system. A 32bit application can never use more than 3.4GB of RAM. iMovie tries to pull everything into RAM when rendering. So, if your entire project contains more than 3.4GB of data, it will NOT render the movie. iMovie will also start behaving strange as it gets close to it limit.
You have two options. Split the project in half and render each separately. OR pay $300 for Final Cut Pro which is a 64bit application. Save your money on the RAM. More RAM just lets you have more 32bit applications open at once. Pay more for 64bit applications vs RAM. A lot of people trouble shooting this problem think they solve it by doing special tricks but it is just a coincidence that they may have did something that made the project just small enough to render.
I hope this saves people a lot of time to make up for the time I wasted.