Red Gate forums :: View topic - Environments Page Eats Memory, Crashes Firefox
Return to www.red-gate.com RSS Feed Available

Search  | Usergroups |  Profile |  Messages |  Log in  Register 
Go to product documentation
Deployment Manager
Deployment Manager forum

Environments Page Eats Memory, Crashes Firefox

Search in Deployment Manager forum
Post new topic   Reply to topic
Jump to:  
Author Message
isme



Joined: 12 Jun 2012
Posts: 76
Location: Edinburgh

PostPosted: Wed Mar 05, 2014 1:42 pm    Post subject: Environments Page Eats Memory, Crashes Firefox Reply with quote

Hey RG,

Our RGDM server now manages hundreds of target machines.

In Firefox 27 it makes the Environments page a little ... "unstable".

When I leave the browser idle with the Environments page open, Firefox consumes memory steadily until there is none left.

When the system runs out of free memory, Firefox crashes silently.

I used Perfmon to log Firefox's Private Working Set while I had the Environments page open and made this chart in Excel.



The flat line at the start of the chart sits around 600 MB. THat's how much memory Firefox uses in a typical browsing session.

At 11:48 I opened a new tab and loaded the Environments page. The memory starts to fluctuate.

After that I just waited. Memory use goes up and down, but the trend is clearly upwards.

At 11:58, and the browser window disappeared and Firefox crashed! The memory fell to 0 after hitting a peak of 3.2 GB.

Can you do something to stabilize the performance of the Environments page when there are a lot of targets?

Cheers,
Iain
_________________
Iain Elder, Skyscanner
Back to top
View user's profile Send private message
james.billings



Joined: 16 Jun 2010
Posts: 1144
Location: My desk.

PostPosted: Wed Mar 05, 2014 5:58 pm    Post subject: Reply with quote

Thanks for posting this- I've let the DM team know.
They'll be looking at scalability in general soon so this should form part of that.
Back to top
View user's profile Send private message
DavidSimner



Joined: 04 Feb 2010
Posts: 49

PostPosted: Tue Mar 11, 2014 3:20 pm    Post subject: Reply with quote

Sorry!

I've just located and fixed 2 massive memory leaks that DM had. We're not planning to ship tomorrow; our current plan is to ship a week tomorrow (Wed 19th), and I'm currently expecting these fixes to go out then.

Given that the fix for one of the memory leaks was to upgrade Knockout, it's possible that there may be some issues around that Knockout upgrade, but there should be enough time between now and next Wednesday to fix any issues that do arise.
Back to top
View user's profile Send private message
isme



Joined: 12 Jun 2012
Posts: 76
Location: Edinburgh

PostPosted: Wed Apr 02, 2014 7:54 pm    Post subject: Reply with quote

Thanks, David. Just noticed your post.

We're running RGDM v2.4.6.8 now. My Firefox is now on v28.0.

There's a clear improvement! Thanks for your work on this.

The page is now stable for long enough that we can work with it.

It still leaks memory, but now it would take hours rather than minutes to exhaust my system.

We'll look forward to more performance improvements for running a big environment.

I repeated the Perfmon logging procedure and made a new chart.

This time I cleared the cache and closed all tabs before opening the environments page.



At 19:06 I started monitoring the memory use. It was around 150 MB.

When I opened a tab on the environments page the memory jumped up to about 300 MB.

I scrolled down the page to collect the version number.

The memory started to increase steadily.

It starts to get spiky about six minutes in (19:12).

When I ended the monitoring at 19:20 the local minimum had crept up to about 650MB.

I waited about 15 minutes and Firefox was still running.
_________________
Iain Elder, Skyscanner
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic All times are GMT + 1 Hour
Page 1 of 1

 
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group