I'm doing a simple recurse with node to generate all the strings of 10 characters.
I've a memory leak during execution.
The code is below.
Any ideas ?

I think it may be linked to the console.log(word) line.
Without this line, the code seems to work.
However, instead if printing the result to the screen, my final goal is to achieve an http request with the generated word. I've tried that without screen printing and it generates an out of memory as well.

```
var char = [
    'a',
    'b',
    'c',
    'd',
    'e',
    'f',
    'g',
    'h',
    'i',
    'j',
    'k',
    'l',
    'm',
    'n',
    'o',
    'p',
    'q',
    'r',
    's',
    't',
    'u',
    'v',
    'w',
    'x',
    'y',
    'z',
    ' ',
    '\''
];

function recurseWord( keyword ){

    if ( keyword.length >= 10 ){
        return null ;
    }
    else{
        for ( var index = 0 ; index < char.length ; ++index){

            keyword = keyword + char [index];

            console.log (keyword);

            recurseWord (keyword) ;

            keyword = keyword.substring(0, keyword.length-1);

        }
    }
    return null ;
}

var keyword = "";
recurseWord(keyword);

```