Developer forum

Forum » Dynamicweb 9.0 Upgrade issues » slow after upgrade

slow after upgrade

Keld Gøtterup
Reply

The site is slow and show multiple of the line below in ?debug=true

ItemViewModel.CreateInstance after meta.GetAllFields()   1.064 ms

 

Itemtypes are cached so what else can be done to optimize this?


Replies

 
Kevin Steffer
Kevin Steffer
Reply

What version are you running?

 
Keld Gøtterup
Reply

9.2.4
Which apparently has a performance bug

 
Kevin Steffer
Kevin Steffer
Reply

Yes 9.2.7 is much faster but still has some memory issues

 
Morten Bengtson Dynamicweb Employee
Morten Bengtson
Reply
This post has been marked as an answer

Hi Keld,

9.2.8 is out now. It is faster and without the very bad memory leak. Try it out and let us know how it goes!

 

Here are some details about the memory issue...

We suffered from a really nasty problem on DW9 related to high memory usage and a related performance issue.

It was really difficult to get to the root of this issue - because at first glance, there does not seem to be any problem.
Now after a lot of investigations and a lot of changes to the code to try to solve this issue, we finally got the break through.
It turns out that we ran into a memory leak bug in .NET XmlSerializer. We use that component differently in DW8 and DW9 and that has caused us to be hit by the bug in DW9.

As a side effect of trying to find the cause of the bug, we made a lot of other minor improvements to DW - the result is a Dynamicweb frontend faster than ever. We still have some things to look at that we have stumpled upon during this work, and that will be part of later releases.
You can read the details about the .NET bug here: https://support.microsoft.com/en-us/help/886385/memory-usage-is-high-when-you-create-several-xmlserializer-objects-in-asp.net

 

With DW 9.2.8 you should see some major improvements in both performance and memory usage.
If you still experience slow sites, please let us know.

BR Morten

Votes for this answer: 2
 
Imar Spaanjaars Dynamicweb Employee
Imar Spaanjaars
Reply

Congratulations on the find, guys. 9.2.8 feels a lot faster now. Thanks!

 

You must be logged in to post in the forum