473,795 Members | 2,410 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Runtime Memory

Hello.
I have developed a custom webbrowser for my son with features like group
browsing etc. So far so good. The program works fine. But then, when I look
into the memory usage the programme is using tons of megabytes of memory.
With 10 pages open, the programme is consuming about 60 MB of memory.
Without any webpage loaded, my custom browser uses about 45 MB of memory.
Opera on the other hand uses 15 megabytes on start up. With the same 10
pages loaded OPera uses only 18 MB.

Is the large memory usage a feature of Dot Net programs or does this
reflect my poor programming skills? How do I resolve this issue? Any help
will be much appreciated.

Thanks in advance,

Mark
Nov 21 '05 #1
2 1784
"=?Utf-8?B?TWFyaw==?=" <Ma**@discussio ns.microsoft.co m> wrote in
news:D2******** *************** ***********@mic rosoft.com:
Is the large memory usage a feature of Dot Net programs or does this
reflect my poor programming skills? How do I resolve this issue? Any
help will be much appreciated.


..NET uses more memory than other programming languages due to several
reasons such as complex objects and the managed environment of the .NET
engine.

However, 60MB for a Web Browser component does seem extreme (I wouldn't be
surprsied with 20 - 30MB tho). Are you using large datasets? Datasets use
up a lot of memory.
Nov 21 '05 #2
Hi Anon,
Thanks for your reply.
I am not using datasets at all so the runtime memory size is still a mystery.

Thanks
Mark

"Anon-E-Moose" wrote:
"=?Utf-8?B?TWFyaw==?=" <Ma**@discussio ns.microsoft.co m> wrote in
news:D2******** *************** ***********@mic rosoft.com:
Is the large memory usage a feature of Dot Net programs or does this
reflect my poor programming skills? How do I resolve this issue? Any
help will be much appreciated.


..NET uses more memory than other programming languages due to several
reasons such as complex objects and the managed environment of the .NET
engine.

However, 60MB for a Web Browser component does seem extreme (I wouldn't be
surprsied with 20 - 30MB tho). Are you using large datasets? Datasets use
up a lot of memory.

Nov 21 '05 #3

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

Similar topics

3
3248
by: Geng Sheng | last post by:
Hi I am working on a pure managed windows application that creates large byte arrays at run time. In fact it creates a 50M byte array when the application starts public static byte buffer = new byte I am using System.GC.GetTotalMemory() to monitor the memory usage. It is consistent with what I can imagine. The memory usage is a little bit above 50M. During runtime this application reads large files (between 25 to 46MB) but it does not...
8
1983
by: Bob | last post by:
I'm trying to decide on what data types to put into my caching object (a class with a static instance of Hashtable). I'm facing the choice of either putting the string values or SqlParameter objects into the Hashtable. There'll be a couple of hundred of these values. If the SqlParameter objects don't eat up too much memory comparing to the strings, I'd very much like to go with the SqlParameters. How can I check the memory usage of my...
3
5602
by: chellappa | last post by:
Hi EveryBody! i need a information about creatting structure at runtime.... like example ..... int main() { char *a,*b; printf("Enter the structure"); scanf("%s",a); printf ("Enter The Datatype");
8
5971
by: Nanda | last post by:
hi, I am trying to generate parameters for the updatecommand at runtime. this.oleDbDeleteCommand1.CommandText=cmdtext; this.oleDbDeleteCommand1.Connection =this.oleDbConnection1; this.oleDbDeleteCommand1.Parameters.Add(new System.Data.OleDb.OleDbParameter("Original_ApplicantName", dataset.Tables.Columns.DataType, 50,
3
1422
by: Tal Shachar | last post by:
Hi All, I posted this request on ...dotnet.framework.interop newsgroup, but I thought to try also here, and ask to get your inputs for the following issue: I have an application written in C++, and now I'm going to add another module to it, which I'm going to write in C#, and wrap it as a COM. The new module is going to interact with the existing application during runtime (call the application's methods and run some BL according to the...
0
819
by: Eric Twietmeyer | last post by:
Hello, I have an unmanaged c++ application in which I'm thinking of starting the ..NET runtime engine so that I may use .NET remoting to enable interaction with a .NET application. My question is: how "heavy" is the .NET runtime engine when started from an unmanaged application? My unmanaged app needs on occasion to obtain very large (300-500mb) contiguous memory areas from the address space (using VirtualAlloc), and this will not be...
1
1899
by: Thomas Jespersen | last post by:
Hello How do I databind a ASP.NET Texbox to a custom object. I a WinForm I do it like this: Dim myCustomerObject As Customer() Private Sub CreateNewCustomer myCustomerObject = New Customer() myCustomerObject.FirstName = "Thomas"
1
1872
by: conckrish | last post by:
Hi all, Can anyone tell me how to find out the memory used by a DataTable at runtime? I am appending lot of data to datatable at runtime.I have to measure this memory comsumption programatically... Plz help me... Thanx in advance... Jacob...
3
2519
by: =?Utf-8?B?R3JhaGFt?= | last post by:
I've added 2 tracking services to the wf runtime; one is the standard SqlTrackingService: trackingService = new SqlTrackingService(<trackingConnectionString>); <workflow Runtime>.AddService(trackingService); trackingService.IsTransactional = false; trackingService.UseDefaultProfile = true; This works just fine.
0
9519
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 effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
10437
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
10214
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 tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
1
10164
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 Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
9042
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
0
6780
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 then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
5563
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
4113
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 we have to send another system
3
2920
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

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.