Hinduism is about understanding Brahma, existence, from within the Atman , which roughly means "self" or "soul," whereas Buddhism is about finding the Anatman — "not soul" or "not self." In Hinduism, attaining the highest life is a process of removing the bodily distractions from life, allowing one to eventually understand the Brahma nature within. In Buddhism, one follows a disciplined life to move through and understand that nothing in oneself is "me," such that one dispels the very illusion of existence. In so doing, one realizes Nirvana.
That is why Buddha said that thinking (activity in memory) is sustaining the misery. Misery is the experience of instability of Intelligence, caused by retention of effect of experience of childhood physical hurt. Pampering a crying or hurt child causes diversion to its intelligence and facilitates to retain the sorrow, which would have vanished on its own, if child was left alone. This retained sorrow prompts thinking or usage of memory for searching a solution. This searching for solution digresses or relieves the intelligence from the feeling of misery or sorrow temporarily.
In contrast, the Hindu meditative practices are inward oriented. They are meant to know the subjective reality, or the reality which is self-existent and free from objective reality. Therefore, they focus the mind upon the Self rather than the Not-self and aim to disengage the mind and senses from the Not-self or the world within and without. By withdrawing the mind and senses from worldly things (the Not-Self) and silencing them, a yogi concentrates his mind upon the thoughts of the Self or God to experience peace and equanimity. Thus, in Hinduism Samadhi is achieved by silencing the mind and senses, rather than keeping them mindful and actively engage with the objective reality.