Skip to content

Memory leak with V7.1.1 #399

@jcmakesense

Description

@jcmakesense

Version

@nuxtjs/firebase: 7.1.1
firebase: 8.1.1
nuxt: 2.14.9

Hi !

I tried to update the module but I have a memory leak problem as soon as I switch to 7.1.1 that I don't have by staying in 6.1.1.

Steps to reproduce

Package.json

"dependencies": {
    "@nuxt/babel-preset-app": "^2.14.7",
    "@nuxt/components": "^1.0.7",
    "@nuxtjs/axios": "^5.12.2",
    "@nuxtjs/firebase": "^7.1.1",
    "@nuxtjs/prismic": "^1.2.4",
    "@nuxtjs/pwa": "^3.0.0-beta.20",
    "@nuxtjs/robots": "^2.4.2",
    "@nuxtjs/sitemap": "^2.4.0",
    "@nuxtjs/style-resources": "^1.0.0",
    "algoliasearch": "^4.3.0",
    "axios": "^0.21.0",
    "camelcase": "^6.0.0",
    "cookie-universal-nuxt": "^2.1.4",
    "core-js": "^2.6.11",
    "cors": "^2.8.5",
    "cross-env": "^5.2.0",
    "dayjs": "^1.8.29",
    "express": "^4.16.4",
    "firebase": "^8.1.1",
    "firebase-admin": "^8.13.0",
    "glob": "^7.1.6",
    "hot-formula-parser": "^3.0.2",
    "isomorphic-unfetch": "^3.0.0",
    "lodash.debounce": "^4.0.8",
    "lodash.groupby": "^4.6.0",
    "lodash.orderby": "^4.6.0",
    "lodash.sortby": "^4.7.0",
    "mime": "^2.4.6",
    "nuxt": "^2.0.0",
    "nuxt-i18n": "^6.12.2",
    "nuxt-lazy-load": "^1.2.4",
    "nuxt-matomo": "^1.2.3",
    "nuxt-stripe-module": "^2.1.0",
    "nuxt-svg-loader": "^1.2.0",
    "prismic-dom": "^2.2.4",
    "query-string": "^6.13.1",
    "redirect-ssl": "^2.0.0",
    "string-template": "^1.0.0",
    "uniqid": "^5.2.0",
    "vue-google-autocomplete": "^1.1.0",
    "vue-js-modal": "^2.0.0-rc.6",
    "vue-stripe-checkout": "^3.3.2",
    "vue-toasted": "^1.1.28",
    "vue2-google-maps": "^0.10.7",
    "vuefire": "^2.2.2",
    "vuelidate": "^0.7.5",
    "vuexfire": "^3.2.2",
    "whatwg-fetch": "^3.2.0"
  },
  "devDependencies": {
    "@nuxtjs/svg": "^0.1.11",
    "jsdoc-loader": "0.0.2",
    "node-sass": "^4.14.1",
    "nodemon": "^1.18.9",
    "path": "^0.12.7",
    "sass-loader": "^8.0.2"
  }

What is actually happening?

With each new nuxt request, the memory does not seem to be emptied, which gradually leads to a server crash.

For example memory profile after 30 requests :
Image of Yaktocat

Do you have any idea of ​​an incompatibility with another module?

Thank you for everything !
JC

Metadata

Metadata

Assignees

Labels

all-clearEverything is clear - can be worked onbugSomething isn't working

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions