The great sage Kapil had observed
"meditation is a total void of thoughts in the mind"
In yoga great Patanjali says"chitta vritti Ka nirodh hi yoga hai"
Means train the inside of the memory, don't allow anything inside of your chitta . I mean any thoughts.