I made some suggestion in this recent post about entity management and performance tricks, maybe some of them could help;
Cheers,
Alex