Former independent counsel Ken Starr was so frustrated with Hillary Clinton’s answers during the 1990s Whitewater probe that he considered charging her with perjury, the prosecutor reveals in a new tell-all.

The then-first lady repeatedly said she “did not recall” during questioning about the suicide of White House adviser Vince Foster, Starr wrote.

“I was upset over Mrs. Clinton’s performance, and was even considering bringing the matter before the Washington grand jury for possible indictment on perjury,” Starr writes in “Contempt: A Memoir of the Clinton Investigation,” which hits bookshelves Tuesday.

Fox News Channel obtained an advance copy of the book, chronicling Starr’s dealings with President Bill Clinton and the first lady, which stemmed from their Whitewater land deal.

“In the space of three hours, she claimed, by our count, over a hundred times that she ‘did not recall’ or ‘did not remember,’ ” Starr recounted of a Jan. 22, 1995, deposition of the future secretary of state.

“This suggested outright mendacity. To be sure, human memory is notoriously fallible, but her strained performance struck us as preposterous.”

Starr said he eventually opted against seeking criminal charges against Hillary Clinton because it would have been hard to prove she lied.

“You have to be able to prove the case,” Starr told FNC’s “Tucker Carlson Tonight” on Monday.

“There are clear differences between what the prosecutor knows and what the prosecutor can prove.”

He added, “We just did not have the evidence to bring those charges.”

Starr, who went on to become law school dean at Pepperdine University and chancellor at Baylor University, will be best known for his probe of President Clinton’s fling with intern Monica Lewinsky.

It led to Clinton’s impeachment in the House and acquittal in the Senate. Starr said he “deeply” regrets that he “took on the Lewinsky phase of the investigation.”