How Much Memory Should A Website Consume

Jan 4, 2011

Does anybody know how much memory should an asp.net website consume? My new asp.net website seems to consume a lot of memory from the hosting server.

note that up until now we haven't used any type of caching.

View 2 Replies


Similar Messages:

What Is Normal Memory Usage Of A Mvc Website

Feb 16, 2011

I have really tried to Google it but only articles about how to troubleshoot memory issues come up. Before I start to troubleshoot, I would like to know if my web site's memory usage is really abnormal or not.

So it is an asp.net mvc 2 website that runs on IIS 7.5 in production. I guess normal memory usage depends upon traffic, so here are the numbers of an average day:

300 unique visitor
400 visits
3000 page views

I would be really happy to get some idea how much is the normal memory usage for this traffic. Also I would be curious to know how memory usage normally increases with traffic growth.

View 1 Replies

Configuration :: Test For Memory Leaks On A Website Running Locally?

Nov 14, 2010

The application pool randomly shuts down. I am assuming this is due to Rapid Fail Protection and errors are occuring that are triggering it. However... there are no errors being reported in the event logs. So my next inclination is to think of the possibilities of a memory leak. How do you test for memory leaks on a website running locally?

View 2 Replies

Error Occurring When Using Wcf To Run Query - Memory Gates Checking Failed Because Of The Free Memory

May 21, 2010

I am building an asp.net application, using II6 on windows server 2003 (vps hosting).

I am confronted with an error I didn't receive on my development machine (windows 7, iis 7.5, 64 bit).

When my wcf service tries launching my query running against a local sql server this is the error I receive:

Memory gates checking failed because the free memory (43732992 bytes) is less than 5% of total memory. As a result, the service will not be available for incoming requests. To resolve this, either reduce the load on the machine or adjust the value of minFreeMemoryPercentageToActivateService on the serviceHostingEnvironment config element.

View 1 Replies

Error: Attempted To Read Or Write Protected Memory. This Is Often An Indication That Other Memory Is Corrupt?

Oct 11, 2010

I have both VS 2005 and 2008 installed on my machine. 2005 is fine. For 2008, literally any asp.net project I try to create gets this eror. I try stepping into the code, and the error occurs apparently before anything that I can trap is loaded. There is no information written to the event log. I have tried this with a "Hello World" webpage with nothing else going on. Seems unique to my Windows Server 2003 machine.

View 3 Replies

Attempted To Read Or Write Protected Memory. This Is Often An Indication That Other Memory Is Corrupt

Jul 30, 2010

I am getting a weird error in asp.net while using leadtools imaging api. Here's the stack trace.

System.AccessViolationException: Attempted to read or write protected memory. This is often an indication that other memory is corrupt.
at SetThreadData(_THREADDATA* )
at Leadtools.Codecs.CodecsOptions.Use()
at Leadtools.Codecs.RasterCodecs.DoSave(SaveParams saveParams)
at Leadtools.Codecs.RasterCodecs.Save(RasterImage image, Stream stream, RasterImageFormat format, Int32 bitsPerPixel)........

View 1 Replies

Attempted To Read Or Write Protected Memory. This Is Often An Indication That Other Memory?

Jan 26, 2011

I am maintaining C# .NET code written by somebody else, I get following exception few times,Attempted to read or write protected memory. This is often an indication that other memory is corruptThe code structure where I get the above exception is somethign like this,- it is using ref variables in following sequence,Variable-1 and variable-2 are local variables in App1, - App1: func1() which passes these variables reference to func2(), - App1: func2() passes same variables reference via .net remoting to another application (App2).-App2: does the same passes same received reference to another call 2 times.- The execption is occured while returning from App2.

(App1:func1(ref Var1, ref Var2) --> App1:func2(ref Var1, ref Var2) <---App1 .net remoting to App2--> App2:func3(ref Var1, ref Var2)--> App2:func4(ref Var1, ref Var2)-->variables getting updated and function returned to original caller)

My doubts are ,1. Is passing reference variables in such chain is correct? will it cause such exeption? Does .net support ref variable call directly?

View 1 Replies

Environment.WorkingSet Incorrectly Reports Memory Usage For A Website That Runs On Windows 2003 Server

Jul 31, 2010

Environment.WorkingSet incorrectly reports the memory usage for a web site that runs on Windows 2003 Server.(OS Vers: Microsoft Windows NT 5.2.3790 Service Pack 2, .NET Vers: 2.0.50727.3607)

It reports memory as Working Set(Physical Mem.): 1952 MB (2047468061).

Same web site runs locally on Windows Vista with a Working Set(Physical Mem.): 49 MB (51924992).

I have limited access to the server and support is so limited.

so i have computed the total memory by traversing with VirtualQuery.

Total of pages with state: MEM_FREE is 1300 MB.

(I guess server have 4 GBs of RAM and PAE is not enabled, max user mode virtual address is 0x7fff0000.)

So, i know working set is not only about virtual memory. But, is it normal to have such a high working set while its very low on another machine?

View 2 Replies

Get Error When Try To Access Website - Server Error In '/' Application. Attempted To Read Or Write Protected Memory

May 5, 2010

Server Error in '/' Application. Attempted to read or write protected memory. This is often an indication that other memory is corrupt.Description: An unhandled exception occurred during the execution of the current web request. review the stack trace for more information about the error and where it originated in the code.

Exception Details: System.AccessViolationException: Attempted to read or write protected memory. This is often an indication that other memory is corrupt.

Source Error:

An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below.

Stack Trace:

[code]....

View 1 Replies

DataSource Controls :: Memory Leak - Server Will Crash - Log A Ton Of SQL Errors Stating That It Is "out Of Memory"

Jul 27, 2010

I have a memory leak somewhere that I cant find. Every few days my server will crash, and just before that I log a ton of SQL errors stating that it is "out of memory".

I cant find it anywhere, all of my connections are being disposed like so:

[Code]....
Then I call the connection from my pages like so:[Code]....

That is all pretty straight forward. The connection is disposed because it is implementing the USING clause. I am opening the connection in my connection manager class, and not where it is being utilized?Or, could the problem be in the below method I am using to populate a SqlDataReader:[Code]....

Now, at first it appears as though this could be the problem because the Connection isn't part of a USING clause, however doesn't the 'Data.CommandBehavior.CloseConnection' pretty much do the same thing. This makes sure that the connection is closed when the reader is closed, right? Here is how I call that above reader from my login page code behind:[Code]....

So the DataReader will get closed even without the .Close() because it is in the USING, and the connection should get closed because I specified it in the ExecuteReader paramters right?

View 8 Replies

ANTS Memory Profiler - Which Memory Should Be Looking At?

Aug 24, 2010

I have a memory issue on my websites and am trying to get to the bottom of it. I have downloaded the 14 day trial of ANTS Memory Profiler and have been playing with it to get a grip of what it's telling me. In the memory options on the timeline, I can see Bytes in All Heaps and Private Bytes etc but I am not sure which ones I should be focusing on to see where the memory spikes and doesn't go back down.I am profiling a ASP.NET website using ASP.NET 2.0.

View 1 Replies

How To Consume RSS Feeds

Mar 25, 2010

I am facing problem to consume rss feeds, I found several articles on How to consume RSS feeds, they helped me to some extened but I didn't get info for what exactly i am looking. My problem is: I tried to consume feeds from these two [URL]

I've used this code to get the feeds info XmlTextReader readerSport = new XmlTextReader [URL]

DataSet dsSport = new DataSet();
dsSport.Clear();
dsSport.ReadXml(readerSport);

for both the feed dataset have same 8 tables but with diffrent names, and if i write the xml using the folloing code

XmlDocument xmlDoc = new XmlDocument();
xmlDoc.Load("[URL]");
//xmlDoc.Load("[URL]");
xmlDoc.Save(Server.MapPath("~/sowetan.xml"));

after observing the genrated xml, both the xml have diffrent structure.

1. What information required to display the feed content?
2. if we have diffrent structures for the genrated xml how can we write a single transform method?
3. Is all the 8 tables data required for displayingrss content, In most article i found they've used only for table 3
4. I want to open the feed content on my webpage, how it can be done.

View 9 Replies

MVC :: Consume WCF RIA Service

Sep 29, 2010

Is there a clean way i can consume WCF RIA Services within an MVC 2 Application?

View 1 Replies

C# - Best Way To Consume An RSS Feed

Jan 14, 2010

I'm currently working on an ASP.NET Website where I want to retrieve data from an RSS feed. I can easily retrieve the data I want and get it to show in i.e. a Repeater control.My problem is, that the blog (Wordpress) that I'm getting the RSS from uses for linebreaks which I obviously can't use in HTML. I need to replace these with a <br /> tag.

SyndicationFeed myFeed = SyndicationFeed.Load(XmlReader.Create("urltofeed/"));
IEnumerable<SyndicationItem> items = myFeed.Items;
foreach(SyndicationItem item in items)
[code]...

View 4 Replies

How To Generate And Consume Xml In C#

Apr 28, 2010

i have not worked with XML in a while can someone post the syntax needed to build and save an xml node structure that resembles that of a tree structure that is created by a recursive function.

basically i have a recursive function that saves data found an a page(url) and then follows each URL found on that page recursivley and does the same to it. to audit this i want an output as a xml file to disk so i can see how it is doing its recursion and parsing.

the code i have is below. please add to it the needed xml calls needed to create a xml structure like the one i show below. (please include the full name space so i can see where the objects i need in .net are for this.)

page1.htm has 2 links on it:

<a href=page1_1.htm>
<a href=page1_2.htm>

page1_1.htm has 2 links on it

<a href=page1_1_a.htm> (this then will have some links also)
<a href=page1_1_b.htm> (this then will have no more links on it - dead end)

the xml should do something like this:

<node url=page1.htm>
...<node url=page1_1_a.htm>
...... <node url="xxx.htm"/>
...... <node url="yyy.htm".>
... </node>
...<node url=page1_1_b.htm />
</node>

View 8 Replies

Php - How To Consume .net Webservices

Dec 22, 2010

we consume .net web services in php or not.if yes then please tell me how can we do it. i am to create a web service which takes values and save it in database also it will take values and reply some data as a standard xml format.i know how to create web service and how to use it in asp.net but don't know how to use/call it from php.thing is that i will not be writing code in php to consume but wants to know that do i need to take care of any special thing or need to do some extra code to make it available and use by php developers.

View 1 Replies

C# - How To Consume NON WS-I Complient In .NET

Mar 8, 2011

I have following service which needs to be consumed in Visual Studio without changing WSDL (as wsdl is third party). It is non compliant WS-I Profile. So it gives error while consuming. Is there any way, I can generate c# class for this WSDL file using another software or commands.

http://kunden.netdirekt.de/soap/services.wsdl

View 3 Replies

C# - Consume .net Web Service Using Jquery?

Nov 14, 2010

I made this web service that returns a datatable from sql server db.

web service:

[code]....

View 4 Replies

How To Consume JSON From A Web Service

Oct 7, 2010

We have a web application providing a service using a simple REST interface (GET/POST methods) and returning results in JSON format.

A client wants to use the service from an ASP application (I assume ASP.NET) and asks for example code.

Is there any standard/widely-acceptable procedure for consuming JSON based web services from an ASP.NET application? I'm not familiar with the .NET framework, but can work my way through C#.

View 2 Replies

How To Consume XML-SOAP Web Service

Apr 1, 2011

I have to consume a public service with the following properties

1. SSL is used as Transport Level Security.

2. User credentials are used for Authorization and Message Level security

NOTE : Source Code is not available for the service.

Sample URL - [URL]

How do I consume from ASP.NET and call the exposed methods ?

View 1 Replies

C# - How To Consume SOAP Web Service

Nov 26, 2010

How do I consume this SOAP web service? how do I add the request header?

[URL]

[URL]

View 1 Replies

C# - How To Make A Web Service That Consume About 500 RSS

Nov 6, 2010

I have a project that i need to make a service that we will add to it about 500 RSS for different sites and we want this service to collect new RSS feeds from these sources and save Title & URL in my SQl Server database ..

View 2 Replies

MVC :: Consume Wcf 4.0 Rest Services?

Oct 5, 2010

how to consume wcf rest services in asp.net MVC? there is any standards are available? in my project SOA, so all the data came from wcf 4.0 rest services if there is any coding examples or resources to consume wcf services in MVC 2.0

View 2 Replies

Consume WCF Service From Coldfusion 7?

Apr 20, 2010

consume a WCF service I have (wsdl) from Coldfusion. I need to pass values in the request header.

View 2 Replies

C# - How To Consume Webservices Over Https

May 30, 2010

I am trying to consume a webservices which are located at https://TestServices/ServiceList.asmx. When I try to add a service reference to my C# library class project my app.config file looks like below:

<system.serviceModel>
<bindings>
<basicHttpBinding>
<binding name="TestServicesSoap" closeTimeout="00:01:00" openTimeout="00:01:00"
receiveTimeout="00:10:00" sendTimeout="00:01:00" allowCookies="false"
bypassProxyOnLocal="false" hostNameComparisonMode="StrongWildcard"
[code]...

View 1 Replies







Copyrights 2005-15 www.BigResource.com, All rights reserved