I believe you need to convert the cookies to the format that BAS understands, and then import them into BAS using a standard method.
Take a look:
https://chromedevtools.github.io/devtools-protocol/tot/Network/#type-Cookie
What version?
How much memory does BAS consume and under what conditions?
@kazecoi97
How much memory does BAS consume and under what conditions?
How can this be replicated? How many threads? What does the project do?