Leslie Jones, one of the most visible and accessible stars in the all-female remake of the “Ghostbusters” movie, said that she would leave Twitter after becoming the target of online trolls who sent her a stream of pornography, racist speech and hateful memes.

Ms. Jones, who is black, and her white cast mates have endured months of criticism since the announcement of a reboot of the blockbuster franchise (so much has been written about the internet’s outrage and gender-based criticism over the film that we won’t rehash it here). But her frustration appeared to come to a head on Monday.

“Ok I have been called Apes,” she wrote on Twitter, “even got a pic with semen on my face. I’m tryin to figure out what human means. I’m out.”

The “Saturday Night Live” cast member and comedian spent the next few hours battling the trolls, at one point tangling with Milo Yiannopoulos, an advocate for the GamerGate group, whose supporters often send vile messages to women in the name of equal rights.