|
|
Rank: Newbie
Joined: 1/27/2008 Posts: 5
|
I'm facing a problem with high usage of memory for one of my websites. The website uses alot of memory when loading pages. The memory usage can hike up to 200+ MB in a matter of minutes. Is there any reasons umbraco can eat up memory like that. I'm looking at ways to optimize my macros. Website: http://arruiapress.com
|
|
 Rank: Addict
Joined: 3/17/2008 Posts: 982 Location: Nyborg, Denmark
|
Remember that .NET uses memory in a different way than non-managed applications (like Classic ASP or COM based apps). It'll eat as much memory as you've allowed it (via the app pool settings) and then start to garbage collect (free memory) when it reach the limit (or whenever it feels like). This is of course greatly simplified, but the bottom line is that just because a lot of memory is used and stay used, there isn't a memory leak.
Hope this helps!
/n
Jeeeez, did I really start this :-)
|
|
 Rank: Fanatic
Joined: 7/25/2006 Posts: 433 Location: Silkeborg, Denmark
|
What version of Umbraco are you using? What does your hardware setup look like? What kind of database are you running on? Is it a dedicated server, or shared hosting? How many sites are running on the server, and are they using their own or sharing the same application pool? /SoerenS Brug for råd til hvordan du driver en god webshop? / Need advice on how to run an effective webshop?
|
|
Rank: Newbie
Joined: 1/27/2008 Posts: 5
|
Thank you for the information Neils. I set the bool to recycle with a max of 200MB of Virtual memory.
I was concerned about the speedy hike in memory usage with umbraco. I was dealing with other systems and I never had this issue of memory hiking so fast. I don't have to recycle the bool every 10 minutes or so for a high volume website since this will affect user experience especially for a news website where speed if very critical.
Soeren: The server is running 4 other websites(non umbraco) but the umbraco website is running on a separate bool and I can see the process memory usage because it's running under a separate process. The server is a xeon VPS server with 512 MB ram and 10GB space. The backend is SQL server 2005 running on a separate server with 10GB space.
The version I'm running is 3.0.5.
|
|
 Rank: Aficionado
Joined: 7/19/2006 Posts: 165
|
cacooma wrote:Thank you for the information Neils. I set the bool to recycle with a max of 200MB of Virtual memory. If you want to use "Memory recycling", you should set "Maximum used memory" to 200MB and just keep virtual memory to unlimited. Virtual memory is not the same as psychical memory. If you wan't to digg more into memory, you should/could use perfmon (not task-manager), where you should monitor virtual and private bytes.
CPalm, www.cpalm.dk
|
|
Rank: Newbie
Joined: 1/27/2008 Posts: 5
|
Thank you all for the great help.
I set the maximum used memory to 150MB and left the virtual memory unchecked. This seems to fix the issue. The editors had one memory issue in the last 3 days. The problem is I can't control the size of memory that's taken by other websites on the same server. I should definitely consider moving the website to dedicated server with 1GB of RAM (I think this is the optimum for IIS server running umbraco website of this size).
Thank you again and wish you the best. Looking forward to meeting some of you in US Code garden 2008. I live very close to IIT by the way.
|
|
|
Guest |