I've got a 15" mid-2010 with 8GB RAM and the 2.8 GHz i7. I upgraded it with an SSD shortly after I bought it in 2011. A few years back I had the GPU panic problem and had Apple fix it. It's been fine ever since until recently. I started getting GPU panic reboots again sometime shortly after I upgraded to El Capitan. Last week, the panics became more frequent until I had 4 in one day. Since I'm almost always docked using external display and keyboard I didn't notice that my battery was swollen and pressing the trackpad out of the chassis. Optimistically, I hoped that replacing the battery might fix the panics. While they are less frequent now, they still occur. I've disabled automatic graphics switching and installed gfxCardStatus. Unfortunately, you can't use the integrated graphics if you use an external display. Also some apps require use of discrete graphics, so you still run the risk of panics. It's not worth paying to fix the GPU again since the machine is so old at this point. I can't be sure another OS will reduce or eliminate the panics. Also, I need to be on the same OS as the rest of my dev team, so downgrading to Yosemite or Mavericks is not an option. I was hoping to limp along until the 2016 Macbook Pros came out, but I don't think I can wait until Q4.
do you have any powered USB hubs connected to it? In my case, that made the matter worse. Anyhow, the 2010 is vintage so they cant repair it regardless (had mine repaired this past november through a warranty program) but they said they wouldnt be able to do any subsequent repeat repairs since they no longer have/make the part and the board was the last one in stock.