473,387 Members | 1,553 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,387 software developers and data experts.

Revisit, Application takes up 1.5GB of memory

Hello,

I have been trying to track down a problem.

The symptoms are as follows
- My application takes up 1.2gb of memory (when looking in windows task
manager)
- It runs very slowly

To fix the problem I do the following;
- Delete all files out of my bin and obj directory and compile
- Its runs lightning fast and only consumes 370mb of memory (when lookin in
windows task manager)

When I deploy the application or do a random amount of builds the symptoms
return.

Does anyone have any thoughts on why this might be occuring?
Im trying to use the CLR profiler, but it takes a bit of
learning...hopefully this well help...
Thank you
John Sheppard
Jan 21 '08 #1
1 1150
John,

It is hard to say anything without some data. As just a guess, you might
have missing Disposes(), double/triple caching, missing shared state
cleanup..
I think it could be anything. To get some facts, I would advise you to make
a dump of the web application when it reaches the 1.2Gb and then use WinDBG
to check what it has eaten.
With WindDBG and SOS you can get all the heap statistics, objects allocated
and all the other necessary things to understand what is going on.
It is not hard at all. Actually it is much better than using profiler.

Here some good articles:

http://blogs.msdn.com/johan/archive/...mory-dump.aspx
http://blogs.msdn.com/johan/archive/...bg-part-i.aspx
http://blogs.msdn.com/johan/archive/...g-part-ii.aspx
http://blogs.msdn.com/johan/archive/...hoot-this.aspx
LT

"John Sheppard" <sp**@nospam.comha scritto nel messaggio
news:fn*********@news2.newsguy.com...
Hello,

I have been trying to track down a problem.

The symptoms are as follows
- My application takes up 1.2gb of memory (when looking in windows task
manager)
- It runs very slowly

To fix the problem I do the following;
- Delete all files out of my bin and obj directory and compile
- Its runs lightning fast and only consumes 370mb of memory (when lookin
in windows task manager)

When I deploy the application or do a random amount of builds the symptoms
return.

Does anyone have any thoughts on why this might be occuring?
Im trying to use the CLR profiler, but it takes a bit of
learning...hopefully this well help...
Thank you
John Sheppard

Jan 21 '08 #2

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

10
by: VM | last post by:
How can I limit the use of the PC's virtual memory? I'm running a process that basically takes a txt file and loads it to a datatable. The problem is that the file is over 400,000 lines long (77...
4
by: Goh | last post by:
Hi, I would like to know how can we implement a web page that intelligent enough to unique identify that pc have been visit before without any cookies and login user require. I have try...
15
by: dn | last post by:
I'm starting an n-tier application with an ASP.NET 2.0 presentation layer, a business layer, a data access layer, and a SQL Server 2005 database, and I have a question. In the business and data...
2
by: jphelan | last post by:
Ever since I successfully applied some techniques for increasing the speed of my 17 meg. Application; it has only made me hunger for more. First, let me list what I have done so far: 1. Split...
2
by: goRide | last post by:
Hi, i have a small application setting in tray. The main form is hidden but has a media player component on it which plays a url link (radio tuner...). Anyway, my application take about 35MB of...
1
by: Daniel | last post by:
Hallo, I'd like to hide application in Pocket PC. My application is written in C# 2.0 for WM 5.0. I have some questions: 1. When it starts in takes about 5-6 seconds. The whole application...
10
by: nagar | last post by:
I noticed this behavior in a C# application. For its nature the applications stays mainly minimized to the tray icons As soon as it's launched the application responds normally. After a while,...
0
by: =?Utf-8?B?SkhhbGV5?= | last post by:
Our system is: IIS Server: dual Intel Xeon 2.80 GHz, 4 GB Ram Windows Server 2003 SP2 IIS 6.0 SQL Server: dual Intel Xeon 2.80 GHz, 4 GB Ram (separate server) Windows Server 2003 SP2 SQL...
2
by: =?Utf-8?B?Q2hhcmxpZQ==?= | last post by:
I have written an ASP.Net web application in C#. On Appplication_Start the code loads some data from the database into memory. It stores the data in Application State variables. The data is read...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.