Skip to content

[Critical Bug] Severe Memory leak on SSR (JavaScript Heap Out of Memory)Β #331

@raminjafary

Description

@raminjafary

Describe the bug

Memory continues to grow and GC is never triggered and this results in JavaScript Heap Out of Memory on production (or any) environment, regardless of how high you set the node young and old memory space. The profiling results are attached. @harlan-zw @farnabaz @atinux I do not know if this module is maintained anymore as the last active development is two years ago.

Reproduction

https://github.com/raminjafary/nuxt-svg-sprite-module-repro

Additional context

Image

Comment out all <svg-icon> or put them inside <client-only> and the issue goes away:

Image

Logs

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