SB 1.7.52

niśamya bhīma-gaditaṁ
 draupadyāś ca catur-bhujaḥ
ālokya vadanaṁ sakhyur
 idam āha hasann iva
Synonyms: 
niśamya — just after hearing; bhīma — Bhīma; gaditam — spoken by; draupadyāḥ — of Draupadī; ca — and; catuḥ-bhujaḥ — the four-handed (Personality of Godhead); ālokya — having seen; vadanam — the face; sakhyuḥ — of His friend; idam — this; āha — said; hasan — smiling; iva — as if.
Translation: 
Caturbhuja [the four-armed one], or the Personality of Godhead, after hearing the words of Bhīma, Draupadī and others, saw the face of His dear friend Arjuna, and He began to speak as if smiling.
Purport: 

Lord Śrī Kṛṣṇa had two arms, and why He is designated as four-armed is explained by Śrīdhara Svāmī. Both Bhīma and Draupadī held opposite views about killing Aśvatthāmā. Bhīma wanted him to be immediately killed, whereas Draupadī wanted to save him. We can imagine Bhīma ready to kill while Draupadī is obstructing him. And in order to prevent both of them, the Lord discovered another two arms. Originally, the primeval Lord Śrī Kṛṣṇa displays only two arms, but in His Nārāyaṇa feature He exhibits four. In His Nārāyaṇa feature He resides with His devotees in the Vaikuṇṭha planets, while in His original Śrī Kṛṣṇa feature He resides in the Kṛṣṇaloka planet far, far above the Vaikuṇṭha planets in the spiritual sky. Therefore, if Śrī Kṛṣṇa is called catur-bhujaḥ, there is no contradiction. If need be He can display hundreds of arms, as He exhibited in His viśva-rūpa shown to Arjuna. Therefore, one who can display hundreds and thousands of arms can also manifest four whenever needed.

When Arjuna was perplexed about what to do with Aśvatthāmā, Lord Śrī Kṛṣṇa, as the very dear friend of Arjuna, voluntarily took up the matter just to make a solution. And He was smiling also.