Problems with generating large amounts of custom terrain

I think this post might help you How could I reduce lag in my game?