When to separate the male and female after mating?

As soon as spawning has finished she should be removed. The male will chase the female and kill her otherwise.