The famine killed as many as 10 million people in what was then Soviet Ukraine .