Grizzlies 109, Raptors 102, OT
Zach Randolph had 24 points and 11 rebounds, and Marc Gasol had 12 points and 10 rebounds for the Grizzlies, who had lost seven of their last eight.
O.J. Mayo scored 22 points for Memphis, and Mike Conley added 13 points and eight assists.
Gay was strong in overtime, making four of five shots as the Grizzlies outscored Toronto 12-5.
Chris Bosh had 32 points and 10 rebounds for Toronto, which had won eight straight home games and eight of nine overall. Andrea Bargnani had 14 points and 10 rebounds.