Hello,
I managed to find a memory leak caused by "longjohn", a dependency loaded by default through xlib.


What fixed it was configuring xlib in production mode:
global.__xlibInitArgs = Object.assign({ envLevel: 'PROD', logLevel: 'ERROR' }, global.__xlibInitArgs);
I suggest to modify the phanthomjscloud initialisation of xlib to also contain the two parameters above.