Welcome to Apple Discussions!
Have a look at this huge thread on the 17" i7:
http://discussions.apple.com/thread.jspa?threadID=2587510&start=0&tstart=0
It's really long, so you probably don't want to read the whole thing. It sounds like what you are experiencing, only worse on the i7 chip. A few people seem to have come up with some workarounds which involve disabling automatic switching and installing certain versions of Flash.
It seems to me that there may be some sort of incompatibility here between the software and the hardware. From what I understand, Apple is aware of the problem and working on a fix.
Since you are under warranty, it might be worth trying some of the workarounds the people with the i7 have tried and see if it helps avoid the problem on the i5. My feeling is that Apple will be able to come up with a remedy at some point, and if you can wait a bit longer, all will be well.
In the meantime, it wouldn't hurt to send feedback to Apple to let them know that the same problem seems to be occurring on the i5 chip.
Good luck!