473,386 Members | 1,943 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,386 software developers and data experts.

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 1770
"=?Utf-8?B?TWFyaw==?=" <Ma**@discussions.microsoft.com> wrote in
news:D2**********************************@microsof t.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**@discussions.microsoft.com> wrote in
news:D2**********************************@microsof t.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
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...
8
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...
3
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...
8
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;...
3
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++,...
0
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...
1
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...
1
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...
3
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...
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: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
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: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
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: 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
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
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.