With the help of a kind colleague, I was able to understand the behaviour described above.
To recap:
When calling from the command line, the identified frequent patterns are stored in the "`outputFilePath`.tmp" folder and when everything is collected, this file is returned as the output, without the .tmp extension.
The huge .tmp file (3T
was created when the flag `show sequence Ids` was turned on, as every sequence id that fulfilled the pattern was also saved, resulting in a file with millions of lines.
Now, I am open to solution for the above