kentico app allocate all server memory

hadi tag asked on December 16, 2015 13:22

hi,

i using kentico 8.1

my kentico application use all of serevr memory(16GB) and makes the iis is periodically reset.

current status :

Database information

Server name: WIN-GFH0 Server version: 11.0.2100.60 Database name: bookDB Database size: 87 GB

Memory statistics

Allocated memory: 8.7 GB Peak memory usage: 9.7 GB Process physical memory: 9.7 GB Process virtual memory: 18.8 GB

Garbage collection statistics

GC collections of gen 0:68 GC collections of gen 1:34 GC collections of gen 2:30

While it was previously: Allocated memory: 260 MB

Recent Answers


Juraj Ondrus answered on December 16, 2015 14:08

Hi,

What are the steps leading to this? Does it happen for particular pages or for any page on the site? Have you tried checking the preformance hints? I would recommend using the SQL and cache debug to see the most expensive items.

0 votesVote for this answer Mark as a Correct answer

Brenden Kehren answered on December 16, 2015 16:29

On top of the performance hints Juraj provided, have you debugged your site in Visual Studio? Is it possible you have some bad code? You might want to also look into cleaning up your database data. A database 87GB in size probably has a lot of junk in it that is very old or not used. So take a look at:

  • event log settings, make sure they aren't set over say 10k records
  • analytics, make sure you perform cleanup of the data on a regular basis. Should have no more than 12-18 months if you're using any of the EMS features.
  • contacts, split them off into another database, this helps with performance and keeping your CRM data seperate
  • activity tracking, make sure to clean up your contact's and their activities on a regular basis.
0 votesVote for this answer Mark as a Correct answer

   Please, sign in to be able to submit a new answer.