Click here to Skip to main content
15,881,898 members
Home / Discussions / .NET (Core and Framework)
   

.NET (Core and Framework)

 
GeneralDistributing Dlls written in .Net to VB6 Pin
Fade (Amit BS)24-Oct-04 19:26
Fade (Amit BS)24-Oct-04 19:26 
GeneralRe: Distributing Dlls written in .Net to VB6 Pin
Alex Korchemniy25-Oct-04 11:33
Alex Korchemniy25-Oct-04 11:33 
GeneralRe: Distributing Dlls written in .Net to VB6 Pin
Fade (Amit BS)25-Oct-04 19:19
Fade (Amit BS)25-Oct-04 19:19 
GeneralRe: Distributing Dlls written in .Net to VB6 Pin
Trankil26-Oct-04 1:19
Trankil26-Oct-04 1:19 
GeneralApplets Pin
Srikanth I.24-Oct-04 10:29
Srikanth I.24-Oct-04 10:29 
GeneralRe: Applets Pin
Steven Campbell24-Oct-04 10:43
Steven Campbell24-Oct-04 10:43 
QuestionTcpClient create a memory leak ?!? Pin
Alon Ronen23-Oct-04 5:57
Alon Ronen23-Oct-04 5:57 
AnswerRe: TcpClient create a memory leak ?!? Pin
Fade (Amit BS)25-Oct-04 19:34
Fade (Amit BS)25-Oct-04 19:34 
i wouldn't jump the gun and say there is a memory leak
a good thing to know about the grabade collector in .net is that it collects garbage when it wants to Smile | :)

an easy way to see this for yourself is to sequencially create and destroy let's say 100,000 objects.

open the task manager to watch the memory status as the code runs for whatever time it takes him (i would even put it in a never ending loop just for the sake of the example)

the loop should be something like

{
CreateObject();
DestroyObject();
}

you will notice how the memory starts to fill up, and then just when you think the system is about to die, you'll see how in a second it all comes back to normal - that's the garbage collector waking up and doing it's job Smile | :)

Let me know if it is a leak or just the garbage collector so i'll know whether to use the tcpClient.

Fade (Amit BS)
GeneralSearching for a type in a solution Pin
Dmitriy Shilonosov22-Oct-04 22:13
Dmitriy Shilonosov22-Oct-04 22:13 
GeneralRe: Searching for a type in a solution Pin
Alex Korchemniy25-Oct-04 11:23
Alex Korchemniy25-Oct-04 11:23 
GeneralGroup box text will not display an Ampersand Pin
Tony D. Abel22-Oct-04 13:37
Tony D. Abel22-Oct-04 13:37 
GeneralRe: Group box text will not display an Ampersand Pin
Luis Alonso Ramos22-Oct-04 22:47
Luis Alonso Ramos22-Oct-04 22:47 
GeneralRe: Group box text will not display an Ampersand Pin
Anonymous23-Oct-04 2:43
Anonymous23-Oct-04 2:43 
GeneralUser Control Embedded in IE Pin
Anonymous22-Oct-04 3:50
Anonymous22-Oct-04 3:50 
GeneralRe: User Control Embedded in IE Pin
Frank Hileman25-Oct-04 5:44
Frank Hileman25-Oct-04 5:44 
GeneralOpen a form on socket receive Pin
Gian21-Oct-04 23:18
Gian21-Oct-04 23:18 
GeneralRe: Open a form on socket receive Pin
Fade (Amit BS)25-Oct-04 19:50
Fade (Amit BS)25-Oct-04 19:50 
QuestionLocal time for arbitrary location? Pin
UgN21-Oct-04 23:03
UgN21-Oct-04 23:03 
GeneralTransparent Controls (Compact Framework) Pin
Vinnepin21-Oct-04 13:04
Vinnepin21-Oct-04 13:04 
GeneralRe: Transparent Controls (Compact Framework) Pin
Alex Korchemniy25-Oct-04 11:18
Alex Korchemniy25-Oct-04 11:18 
Generaldeploying .net dll for com access Pin
Verdant12321-Oct-04 9:57
Verdant12321-Oct-04 9:57 
GeneralRe: deploying .net dll for com access Pin
Verdant12321-Oct-04 10:38
Verdant12321-Oct-04 10:38 
GeneralIE Toolbar Pin
Member 132814121-Oct-04 4:27
Member 132814121-Oct-04 4:27 
GeneralChanging the Form icon Pin
Tony D. Abel21-Oct-04 2:01
Tony D. Abel21-Oct-04 2:01 
Generalasynchronous udp Pin
tommy_tanaka21-Oct-04 0:40
tommy_tanaka21-Oct-04 0:40 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.