Skip to content

Memory leak caused by default initialisation of xlib #17

@tenxliviu

Description

@tenxliviu

Hello,

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

fixed memory leak phantomjscloud npm - production

fixed memory leak phantomjscloud npm

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions