We can't know. We know nothing about your system, your render settings, your comp settings, not even your version of AE. Nobody can help you without any of that.
I am using CS6 and for the most part use the preset default render settings but have tried to render in both H.264 and Quicktime. I use a MacBook Pro with OSX Version 10.9.4.
Does that help?
I think I may have figured it out. It seems it has to do with the amount of Ram on my computer? I cleaned up some of my hard drive and it went farther through the rendering. Maybe this is an amateur question but is there a way to create more Ram without cleaning out more of my hard drive or do I just have to delete things off my computer?
RAM and your hard drive are two different things.
How much RAM do you have?
How much space do you have free on your hard drive?
What exact version of AE are you using? I know it's CS6, but is it 11.0.0, 11.0.4, something else?
Try rendering a QuickTime with the PNG codec instead of animation and see if that makes a difference.
Thanks for getting back to me.
I have a 8 gb RAM and I am currently running bootcamp on my computer so I have 373 GB on my Mac side (which is where I am working in After Effects) and 81.26GB of that is free.
I am using Version 126.96.36.199.
I have tried rendering a quicktime and it gives me the same error.
Try using the "secret" preferences to purge every couple of frames. If you hold Shift while clicking on After Effects > Preferences > General, the Secret menu should pop up in the sidebar of the Preferences dialog.
Alternatively, if rendering to a QuickTime with the video codec set to PNG instead of Animation didn't work, try rendering to a PNG sequence and not a video format at all.