Since FCP7 is 32-bit application it can't utilize more than 4 GB of RAM. To add insult to injury, it uses around 2.5 GB because 1.5 GB are being used by FCS mainframe. This is how you end up being out of memory. When face out-of-memory error, simply re-launch FCP. As the last resort, reboot.