473,473 Members | 1,985 Online
Bytes | Software Development & Data Engineering Community
Create Post

Home Posts Topics Members FAQ

C# applications using to much memory

Hi i'm newbie in .NET especially in c#. I must say that
even the most simple application created uses a lot of
memory (almost 10Mb on 256Mb RAM system), and i really
don't know how can i manage this part. Can someone giveme
some answers?
Thank you.
Nov 15 '05 #1
3 1313
Lucian,

This is because memory is needed by the CLR to do things like JIT
compiling and memory management. It is to be expected when running .NET
applications.

Hope this helps.
--
- Nicholas Paldino [.NET/C# MVP]
- ni**************@exisconsulting.com

"Lucian" <lu****@x-network.ro> wrote in message
news:07****************************@phx.gbl...
Hi i'm newbie in .NET especially in c#. I must say that
even the most simple application created uses a lot of
memory (almost 10Mb on 256Mb RAM system), and i really
don't know how can i manage this part. Can someone giveme
some answers?
Thank you.

Nov 15 '05 #2
Lucian <lu****@x-network.ro> wrote:
Hi i'm newbie in .NET especially in c#. I must say that
even the most simple application created uses a lot of
memory (almost 10Mb on 256Mb RAM system), and i really
don't know how can i manage this part. Can someone giveme
some answers?


Yes - basically it's because there's a lot of framework being loaded.
Simple applications will look far too big - but complex applications
won't be *that* much bigger (depending on how much data they actually
use, of course).

Think of it this way: 10Mb on a 256Mb system is the equivalent of about
300K on an 8Mb system - and when 8Mb was common, 300K wasn't seen as
being particularly excessive, was it?

--
Jon Skeet - <sk***@pobox.com>
http://www.pobox.com/~skeet
If replying to the group, please do not mail me too
Nov 15 '05 #3
Thanx guys, I think i got the answer I needed.

Nov 15 '05 #4

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

Similar topics

385
by: Xah Lee | last post by:
Jargons of Info Tech industry (A Love of Jargons) Xah Lee, 2002 Feb People in the computing field like to spur the use of spurious jargons. The less educated they are, the more they like...
2
by: Kot Behemot | last post by:
Hello I have written so far several little applications in C# which do some stuff. Nothing spectacular. EXE files are anywhere between 30 and 50KB. Everything worked perfectly fine until I...
1
by: Amitava Sengupta | last post by:
Is there any issue in using COM component in web applications. The problem I'm facing are 1. Though the dll is using non-static member variables which are being instantiated on each call,...
2
by: Michael Isaacs | last post by:
Is there any way to share an object or variable between applications other than through .NET remoting? Also, if this is the only way, what kind of overhead is there for storage (memory) and speed...
11
by: kd | last post by:
Hi All, Can anybody suggest as to what is the best way communicate between 2 applications residing on the same machine? Thanks. kd
26
by: gabry.morelli | last post by:
Is it possible to create an .ADP application (in Access 2003) without having to connect SQL Server but using directly the tables and queries inside the .ADP file? Thanks
11
by: Joseph Geretz | last post by:
I've been looking at two approaches for the maintenance of Session state for a Web Service application. One approach uses the old familiar Session object which I've used in the past for Web...
9
by: Peri | last post by:
Dear All, Is there a way in which 2 application can share a common memory location to access static data? Say for example I have a product master data that is available in a single place, and...
10
by: kimiraikkonen | last post by:
Hi there, I figured out, for the first execution for any .NET-powered app such as VB.NET or C#, it takes 7-8 seconds to see main form of "any" application even the application consists of a single...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
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...
1
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and...
0
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
0
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated ...
0
muto222
php
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

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.