From: kumar prashanth (
Date: Mon Jun 15 2009 - 04:06:49 CDT

I am working with a trajectory of around 150 frames of a bilayer lipid
system. The script intends the following.

Makes a fitting of a lipid molecule to some reference lipid and gets the
atom coordinates of some atoms,which gets printed out.
 And this fitting scheme is generalized over a region by the selection
"lipid within --- of protein" using a for loop.

I have tried running the script and it crashes after working for a short
and it gives a std::bad alloc message.

I guess the problem is with the memory allocation. COuld anyone suggest a
Probably,freeing some memory space could be one. PLease let me know about