Hi Dina,
I've never seen this error. If anyone else in this group has, please let us know so we know if it's widespread or specific.
From online searches it seems this can be do to (1) recursiveness in a function where it basically calls on itself or (2) highly complex SEM models can consume a lot of memory.
Since (1) would probably make this error occur in every gimmeSEM() usage, i'm betting it's (2).
Do you have a large number of variables being used?
Hope all is well,
Katie