I have a 4670k so it should be similar to yours.
Here is what is in my startup .bat file:
yam.exe --config yam-pts.cfg
And in the yam-pts.cfg file I have:
threads = 3
mining-params = pts:av=0&m=512
mine = xpt2h://user
ass@mining.ypool.net:10034:8080:8081:8082:8083:8084:8085:8086:8087/pts
#proxy = socks4a://127.0.0.1:9150
compact-stats = 1
print-timestamps = 0
I moved the yam.exe file to the same directory as the yam-pts.cfg file. And I took out the lines referencing the other pools since I only have an account at ypool. Only other change I made was to make it 3 threads instead of 4. Change user

ass to whatever yours is at ypool.
Also, how much ram is in your system? I have 16gb on this comp and I think it makes a difference how much you have because there it is set to use 512mb per thread so mine is using 1.5GB of ram right now.