Hi Vignesh_16,
I understand you are getting some heat buildup can cause problems for any computer. If you follow this document on prevent heating up, it will help with your issues.
http://h10025.www1.hp.com/ewfrf/wc/document?cc=us&lc=en&dlc=en&docname=c01657439
Hope it helps.
Thanks.