Skip to content
This repository has been archived by the owner on Dec 14, 2018. It is now read-only.

Repeatedly loading a view causes out of memeory exception #2790

Closed
JonnySedman opened this issue Jul 8, 2015 · 4 comments
Closed

Repeatedly loading a view causes out of memeory exception #2790

JonnySedman opened this issue Jul 8, 2015 · 4 comments

Comments

@JonnySedman
Copy link

Using VS2015 RC (Win 7 pro), create a new project, choose the asp.net 5 website template. Run the project, the memory usage levels out at about 100mb.

mem

Navigate to the other pages a bunch of times. The memory usage climbs and is never released, eventually leading to an out of memory exception. Below is after 12-15 page loads for the template, no code modified.

bigmempng

If you have a large view this can happen very quickly.

@alexsandro-xpt
Copy link

Bizarre...

@danroth27 danroth27 added this to the 6.0.0-beta6 milestone Jul 8, 2015
@rynowak
Copy link
Member

rynowak commented Jul 9, 2015

Thanks for the report, I'm still investigating, but it looks like browserlink is the culprit.

Remove app.UseBrowserLink() from startup and you should see things getting collected.

@JonnySedman
Copy link
Author

Looks like that's fixed it thanks!

@davidfowl
Copy link
Member

/cc @jodavis

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

6 participants