Unfortunately, the "not enough memory" error message has been known to occur when the issue has nothing whatsoever to do with memory. i.e. it's a faulty description on a generic error that can be triggered by all sorts of things.
Open Font Book and validate your fonts. In addition you might want to delete the duplicate fonts.
How to use Font Book to validate fonts
1. Open Font Book in your Applications folder.
2. Select All Fonts.
3. Now click in the list of fonts and select all (Edit > Select All).
4. Under File in the Menu bar, select Validate Fonts.
5. Duplicate fonts will be marked with either the yellow badge or a black dot.
6. Select to remove or delete duplicates.*
7. Delete font caches (how to)
8. Restart your computer
* Step 6 – remove or delete duplicates is where the tricky part comes in. You can select to let Font Book disable or remove duplicates, but I’ve found that it removes the one you have not been using rather than selecting the best option. See Font Management in OS X, by Kurt Lang, for more info on fonts.
http://www.jklstudios.com/misc/osxfonts.html
See Kurt Lang's directions here to remove font caches
https://discussions.apple.com/thread/5873683?answerId=26188553022#26188553022
Office 2011 Duplicate Fonts to Delete
http://www.officeformachelp.com/office/font-management/#fontstodelete
**(Fair disclosure: OfficeforMacHelp is my site. I may receive some form of compensation, financial or otherwise, from my recommendation or link.)
I should point out that I'm a literary agent, and I often have to edit or re-format clients' manuscripts.
You might find this technique useful.
The Maggie:
1. Create a new blank document in .docx format
2. Carefully select all of the text in the bad document EXCEPT the last
paragraph mark
3. Copy it.
4. Paste in the new document.
5. Save under a new file name and close all, then re-open.
This technique for de-corrupting is known as "Doing a 'Maggie'", after
Margaret Secara from the TECHWR-L mailing list, who first publicized the
technique.