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

Garbage Collection and Manage Code?

What doese Garbage Collection mean? And what is Managed Code?
Any links to relevant articles or resources would be appreciated!

--
Best regards,
Laser Lu
Jul 21 '05 #1
5 1499
Cor
Hi Laser,

You can go to this link (not the microsoft normal link) and type in
"managed code" in the search

http://msdn.microsoft.com/

The garbage collection is a collection from unused objects which is cleaned
by the framework time by time.

I hope this helps,

Cor
What doese Garbage Collection mean? And what is Managed Code?
Any links to relevant articles or resources would be appreciated!

Jul 21 '05 #2
Those terms usually apply to the .NET environment. You might want to post
this question in one of those NGs.

Wayne

"Laser Lu" <lu********@hotmail.com> wrote in message
news:uS**************@TK2MSFTNGP09.phx.gbl...
What doese Garbage Collection mean? And what is Managed Code?
Any links to relevant articles or resources would be appreciated!

--
Best regards,
Laser Lu

Jul 21 '05 #3
"Wayne Wengert" <wa***************@wengert.com> wrote in message
news:%2****************@TK2MSFTNGP12.phx.gbl
Those terms usually apply to the .NET environment. You might want to
post this question in one of those NGs.


It is; it's cross-posted to both dotnet and VB 'classic' groups so the
responses are a mixture of both worlds.

--
Reply to the group so all can participate
VB.Net... just say "No"

Jul 21 '05 #4
Laser,
In addition to the other's comments:

http://msdn.microsoft.com/netframework/

http://msdn.microsoft.com/library/de.../faq111700.asp

http://msdn.microsoft.com/library/de...kref_start.asp

Hope this helps
Jay

"Laser Lu" <lu********@hotmail.com> wrote in message
news:uS**************@TK2MSFTNGP09.phx.gbl...
What doese Garbage Collection mean? And what is Managed Code?
Any links to relevant articles or resources would be appreciated!

--
Best regards,
Laser Lu

Jul 21 '05 #5
Hi!

Simply put, Managed Code refers to the code that executes within the
confines and control of the Common Language Runtime (CLR), the Virtual
Machine for the .NET Framework. And one of the benefits of using managed
code is that you can allocate memory for the objects created by your
application, without worrying about releasing that memory. The CLR is
intelligent enough to decide when an object, allocated by your application,
has become garbage (i.e., no longer being used by your application), and it
will automatically collect all the garbage objects and release the
associated memory. This process is termed as Garbage collection.

The following articles by Jeffrey Richter will help you understand it
better:

http://msdn.microsoft.com/msdnmag/is...00/GCI/GCI.asp
http://msdn.microsoft.com/msdnmag/is.../GCI2/GCI2.asp

--
Regards,
Kumar Gaurav Khanna
-----------------------------------------------------------------
Microsoft MVP - C#/.NET, MCSE Windows 2000/NT4, MCP+I
WinToolZone - Spelunking Microsoft Technologies
http://www.wintoolzone.com/
OpSupport - Spelunking Rotor
http://opsupport.sscli.net/
Bangalore .NET Users' Group
http://groups.msn.com/bdotnet/
"Laser Lu" <lu********@hotmail.com> wrote in message
news:uS**************@TK2MSFTNGP09.phx.gbl...
What doese Garbage Collection mean? And what is Managed Code?
Any links to relevant articles or resources would be appreciated!

--
Best regards,
Laser Lu

Jul 21 '05 #6

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

Similar topics

55
by: jacob navia | last post by:
Tired of chasing free(tm) bugs? Get serious about C and use lcc-win32. The garbage collector designed by Boehm is the best of its class. Very simple: #define malloc GC_malloc #define free(a)...
5
by: Ben | last post by:
Could someone please verify if what I am doing as follow is corrected: 1. when dealing with custom class objects: ..... public myObject as myClass myObject as New myClass .......here I am...
5
by: Laser Lu | last post by:
What doese Garbage Collection mean? And what is Managed Code? Any links to relevant articles or resources would be appreciated! -- Best regards, Laser Lu
28
by: Goalie_Ca | last post by:
I have been reading (or at least googling) about the potential addition of optional garbage collection to C++0x. There are numerous myths and whatnot with very little detailed information. Will...
1
by: dd | last post by:
I have a situation where the browser memory goes up and up as each Ajax call causes new content to be deployed into a DIV. I'd like to know if I can force garbage collection to occur. More...
22
by: Tom Wright | last post by:
Hi all I suspect I may be missing something vital here, but Python's garbage collection doesn't seem to work as I expect it to. Here's a small test program which shows the problem on python 2.4...
56
by: Johnny E. Jensen | last post by:
Hellow I'am not sure what to think about the Garbage Collector. I have a Class OutlookObject, It have two private variables. Private Microsoft.Office.Interop.Outlook.Application _Application =...
46
by: Carlo Milanesi | last post by:
Hello, traditionally, in C++, dynamically allocated memory has been managed explicitly by calling "delete" in the application code. Now, in addition to the standard library strings, containers,...
158
by: pushpakulkar | last post by:
Hi all, Is garbage collection possible in C++. It doesn't come as part of language support. Is there any specific reason for the same due to the way the language is designed. Or it is...
0
by: DolphinDB | last post by:
Tired of spending countless mintues downsampling your data? Look no further! In this article, you’ll learn how to efficiently downsample 6.48 billion high-frequency records to 61 million...
0
by: ryjfgjl | last post by:
ExcelToDatabase: batch import excel into database automatically...
0
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
1
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: Vimpel783 | last post by:
Hello! Guys, I found this code on the Internet, but I need to modify it a little. It works well, the problem is this: Data is sent from only one cell, in this case B5, but it is necessary that data...
0
by: ArrayDB | last post by:
The error message I've encountered is; ERROR:root:Error generating model response: exception: access violation writing 0x0000000000005140, which seems to be indicative of an access violation...
1
by: Shællîpôpï 09 | last post by:
If u are using a keypad phone, how do u turn on JavaScript, to access features like WhatsApp, Facebook, Instagram....
0
by: af34tf | last post by:
Hi Guys, I have a domain whose name is BytesLimited.com, and I want to sell it. Does anyone know about platforms that allow me to list my domain in auction for free. Thank you
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...

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.