Like the subject says, how do I figure out how much memory an object takes..
If I create an employees collection, which is a collection of employee
objects, and I load up a handful of records, I want to know if it consumes,
say, 20k, or 100k or whatever of memory/resources.
Thanks.. 1 1468
You can use CLR Profiler to profile your code. The profiler will show you
exactly how much memory is being taken by each type.
You can get it from http://msdn.microsoft.com/library/de...anagedapps.asp
rajasi
"Tom L" <tlanger_n05p4m _dls.net> wrote in message
news:UL******** ************@dl s.net... Like the subject says, how do I figure out how much memory an object
takes.. If I create an employees collection, which is a collection of employee objects, and I load up a handful of records, I want to know if it
consumes, say, 20k, or 100k or whatever of memory/resources.
Thanks..
This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics |
by: Xah Lee |
last post by:
how to represent the unicode "em space" in regex?
e.g. i want do something like this:
fracture=re.split(r'\342371*\|\342371*',myline,re.U)
Xah
xah@xahlee.org
∑ http://xahlee.org/
|
by: Petr Jakes |
last post by:
Hi,
I am trying to set-up communication to the coin change-giver from my
Linux box using the Python code. The change giver uses MDB (Multi Drop
Bus) serial protocol to communicate with the master. MDB protocol is
the 9bit serial protocol:
(TX, RX lines only) 9600bps, 9bits, No Parity, 1 Start, 1 Stop.
I would like to control the UART "parity bit" to try to simulate 9bit
communication.
|
by: serge |
last post by:
I have an XML file with an XSD file. When i am reading the XML
file and putting its content into a DataSet I notice that the field that
has a single space character is being converted to a field with no
space character.
DataSet ds = new DataSet();
ds.ReadXmlSchema(Path.ChangeExtension(fileNameC , ".xsd"));
ds.ReadXml(fileNameC, XmlReadMode.ReadSchema);
|
by: Eddie |
last post by:
Hi All,
I would like to write a windows service that will "Check" any problems on my
computer. For exemple, I would like to pop up a windows if my Hard drive is
low in "space" (maybe 5 % free space). How may I do it ? Does VS.NET provide
a tools for that...
I also would like, for exemple, know if my CPU temperature is too high, or
if my Laptop battery is too "low"...
Any help ?
|
by: Tom L |
last post by:
Like the subject says, how do I figure out how much memory an object takes..
If I create an employees collection, which is a collection of employee
objects, and I load up a handful of records, I want to know if it consumes,
say, 20k, or 100k or whatever of memory/resources.
Thanks..
| |
by: Kannan |
last post by:
In section 7.19.6.1 on ISO C specification, it says about a format
character "space". When and how we will use this "space" format? I mean
is there a usage, for e.g. like printf("%space",...); ?
Thanks,
Kannan
|
by: Lloyd Dupont |
last post by:
I am "defining" an XML schema.
In fact I'm not really writing any schema but I am writing an XML writer and
reader for my data.
It's all custom XML and I would like it to be XML tool friendly.
I will have an element, lets call it <text/which will be in the document
in great quantity and it should always have:
xml:space="preserve"
on.
|
by: Sound |
last post by:
Enter space bar for field names and save the field.The field shoud not
get saved and an alert should be there as"Space bars are not allowed"
Add a field without giving any name and save the field.The field
should not get saved,and an alert should be there as "Field name is
mandatory"
|
by: pippyn |
last post by:
I'm programming for a CE device with reduced key board, no mouse, and no touch screen. As such, I have to tab from button to button to get the focus on the button i want. Then to invoke the button with focus i have to hit two keys on the key board to send a space in order to "click" the button. I want to just hit one key, the enter key, instead.
So, how do i trap the enter and turn it into a space?
I tried putting the following code in...
|
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, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look !
Part I. Meaning of...
|
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,...
| |
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,...
|
by: isladogs |
last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM).
In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules.
He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms.
Adolph will...
|
by: TSSRALBI |
last post by:
Hello
I'm a network technician in training and I need your help.
I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs.
The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols.
I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
|
by: adsilva |
last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
|
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
|
by: muto222 |
last post by:
How can i add a mobile payment intergratation into php mysql website.
| |
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...
| |