Heres a sugestion for you go to options java and place about 4000 in the second to last box not the top box thats for the java arguments (trust me you dont want to screw with that box unless you know java)
Allocate more ram to minecraft, that should solve it. Screenshot by Lightshot Allocate as much as you can, ofc not too much so you'r pc wont freeze[DOUBLEPOST=1480808673][/DOUBLEPOST]According to this : HP ENVY 13 laptops | HP® Official Store you should be able to allocate atleast 4 gb - 4096mb I would reccomend 6gb if you plan on using a resourcepack - 6144mb
hold on ill just make a video for you it will save everyone alot of time its gonna be a bit because i have to do the youtube route due to the fact the forums hate quick time[DOUBLEPOST=1480815520,1480814136][/DOUBLEPOST] there you go