I got an excercise in which I have to guess a password using a brute-forcing algorithm. The charset is 'a-z' and the length varies between 3 and 6.
With 2GB of RAM I'm getting memory allocation errors after a couple of hours on the examples with 5 and 6 characters. I asked my teacher and he told me to do the bruteforcing using groups of 3, but I don't know how to approach this.