you may want to check the flow of the code though, your running an ent create create nmodel in the plaeyrs hands) make sure its not continualy generating new models.

even with some a few BIG poly count models won't eat up 128 meg of ram or cause an out of memory problem unelss you got apps also running eating up allot of that ram in the first place.