A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://github.com/vuejs/vue/issues/5975 below:

Memory leak in Vue.js server-side when using "computed" · Issue #5975 · vuejs/vue · GitHub

Version

vue@2.2.3

Reproduction link

https://github.com/freeozyl80/vue-memory-leak

Steps to reproduce
  1. use Vue Server Render (renderToString);
  2. the vm in server has "computed" which define a test function without return.(yes ,this step is incorrect, just throw error and pause is ok, but then memory leak happend)
  3. memory leak happend.
What is expected?

throw error and pause

What is actually happening?

the vonde is going to run and create, but not destroyed and exit.
In heap snapshots, i found the vue$2 has created almost 4538

just look in 'https://github.com/freeozyl80/vue-memory-leak'


RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4