Without seeing the code, I would recommend you download JabRef and inspect the bib file for syntax error. This can be a result of a missing grouping symbol.
–
R. SchumacherApr 27 '12 at 2:35

These kinds of errors are usually caused by some kind of infinite recursions, e.g. like macros calling themselves. If possible, please provide a minimal example that shows the issue. Without further information it's impossible to track it down. Also, have a look at this question and the accepted answer. Maybe you're problem is related to it.
–
MartinApr 27 '12 at 5:30

1

Seeing that the part of memory which is exausted is the "save size" makes me suspect of a programming error in your macros.
–
egregApr 27 '12 at 8:25