GithubHelp home page GithubHelp logo

Comments (8)

rstoenescu avatar rstoenescu commented on May 24, 2024

Cannot reproduce. Can you tell me your exact Node version and OS (including its version) pls?
This has been tackled in the beta versions already.

Can you try with "@quasar/app" v3.1.0 which has updated Vue and Vue Router versions and tell if you can still reproduce it? If you can, then at this point it means that there's a high chance the culprit might be Vue itself.

from quasar-starter-kit.

zknic avatar zknic commented on May 24, 2024

Cannot reproduce. Can you tell me your exact Node version and OS (including its version) pls?
This has been tackled in the beta versions already.

Can you try with "@quasar/app" v3.1.0 which has updated Vue and Vue Router versions and tell if you can still reproduce it? If you can, then at this point it means that there's a high chance the culprit might be Vue itself.

Node: v14.16.1
OS: centos-release-7-4.1708.el7.centos.x86_64
kernel: 3.10.0-693.el7.x86_64

i have tried "@quasar/app" v3.1.0, it has the same problem. later i uesd "vue-cli" v4.5.13 to build a ssr project, the project has the same problem. (vue: 3.2.4, vue-router:4.0.11).it seems the culprit is Vue itself.
image

from quasar-starter-kit.

zknic avatar zknic commented on May 24, 2024

Cannot reproduce. Can you tell me your exact Node version and OS (including its version) pls?
This has been tackled in the beta versions already.
Can you try with "@quasar/app" v3.1.0 which has updated Vue and Vue Router versions and tell if you can still reproduce it? If you can, then at this point it means that there's a high chance the culprit might be Vue itself.

Node: v14.16.1
OS: centos-release-7-4.1708.el7.centos.x86_64
kernel: 3.10.0-693.el7.x86_64

i have tried "@quasar/app" v3.1.0, it has the same problem. later i uesd "vue-cli" v4.5.13 to build a ssr project, the project has the same problem. (vue: 3.2.4, vue-router:4.0.11).it seems the culprit is Vue itself.
image

The culprit should be vue-router. when i remove vue-router in vue-cli ssr project, the problem has been solved.

from quasar-starter-kit.

rstoenescu avatar rstoenescu commented on May 24, 2024

Thank you for the reply.

In this case, can you open a ticket on the vuejs/vue-router-next repo pls? Also tag this ticket from there, so the other developers coming to Quasar can track this issue and its resolution.

Will close this ticket in the meantime, but will follow closely the vue-router one.

from quasar-starter-kit.

zknic avatar zknic commented on May 24, 2024

Thank you for the reply.

In this case, can you open a ticket on the vuejs/vue-router-next repo pls? Also tag this ticket from there, so the other developers coming to Quasar can track this issue and its resolution.

Will close this ticket in the meantime, but will follow closely the vue-router one.

sorry, i made a mistake. i did more test yesterday by using quasar framwork. when i create new project whitout i18n, the problem has been sovled.
vue-router's problem depends on which way you create the instance, quasar handled vue-router very well.

1.quasar create xxx
2.choose i18n
3.quasar mode add ssr
4.quasar dev -m ssr
5.use webbwnch to make a large number of requests

from quasar-starter-kit.

zknic avatar zknic commented on May 24, 2024

image

Modify as above, this can also prevent the server-side memory leak.

from quasar-starter-kit.

rstoenescu avatar rstoenescu commented on May 24, 2024

Can you try putting the createI18n() inside of the default exported function pls and retest? (Also drop the other export)

from quasar-starter-kit.

zknic avatar zknic commented on May 24, 2024

Can you try putting the createI18n() inside of the default exported function pls and retest? (Also drop the other export)

you are right.
image

i tested these code, the project has the correct effect, no more memory leak.
image

from quasar-starter-kit.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.