Click here to Skip to main content
15,123,408 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 20:26
MemberFade (Amit BS)24-Oct-04 20:26 
GeneralRe: Distributing Dlls written in .Net to VB6 Pin
Alex Korchemniy25-Oct-04 12:33
MemberAlex Korchemniy25-Oct-04 12:33 
GeneralRe: Distributing Dlls written in .Net to VB6 Pin
Fade (Amit BS)25-Oct-04 20:19
MemberFade (Amit BS)25-Oct-04 20:19 
GeneralRe: Distributing Dlls written in .Net to VB6 Pin
Trankil26-Oct-04 2:19
MemberTrankil26-Oct-04 2:19 
GeneralApplets Pin
Srikanth I.24-Oct-04 11:29
MemberSrikanth I.24-Oct-04 11:29 
GeneralRe: Applets Pin
Steven Campbell24-Oct-04 11:43
MemberSteven Campbell24-Oct-04 11:43 
QuestionTcpClient create a memory leak ?!? Pin
Alon Ronen23-Oct-04 6:57
MemberAlon Ronen23-Oct-04 6:57 
AnswerRe: TcpClient create a memory leak ?!? Pin
Fade (Amit BS)25-Oct-04 20:34
MemberFade (Amit BS)25-Oct-04 20: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 23:13
MemberDmitriy Shilonosov22-Oct-04 23:13 
GeneralRe: Searching for a type in a solution Pin
Alex Korchemniy25-Oct-04 12:23
MemberAlex Korchemniy25-Oct-04 12:23 
GeneralGroup box text will not display an Ampersand Pin
Tony D. Abel22-Oct-04 14:37
MemberTony D. Abel22-Oct-04 14:37 
GeneralRe: Group box text will not display an Ampersand Pin
Luis Alonso Ramos22-Oct-04 23:47
MemberLuis Alonso Ramos22-Oct-04 23:47 
GeneralRe: Group box text will not display an Ampersand Pin
Anonymous23-Oct-04 3:43
MemberAnonymous23-Oct-04 3:43 
GeneralUser Control Embedded in IE Pin
Anonymous22-Oct-04 4:50
MemberAnonymous22-Oct-04 4:50 
GeneralRe: User Control Embedded in IE Pin
Frank Hileman25-Oct-04 6:44
MemberFrank Hileman25-Oct-04 6:44 
GeneralOpen a form on socket receive Pin
Gian22-Oct-04 0:18
MemberGian22-Oct-04 0:18 
GeneralRe: Open a form on socket receive Pin
Fade (Amit BS)25-Oct-04 20:50
MemberFade (Amit BS)25-Oct-04 20:50 
QuestionLocal time for arbitrary location? Pin
UgN22-Oct-04 0:03
MemberUgN22-Oct-04 0:03 
GeneralTransparent Controls (Compact Framework) Pin
Vinnepin21-Oct-04 14:04
MemberVinnepin21-Oct-04 14:04 
GeneralRe: Transparent Controls (Compact Framework) Pin
Alex Korchemniy25-Oct-04 12:18
MemberAlex Korchemniy25-Oct-04 12:18 
Generaldeploying .net dll for com access Pin
Verdant12321-Oct-04 10:57
MemberVerdant12321-Oct-04 10:57 
GeneralRe: deploying .net dll for com access Pin
Verdant12321-Oct-04 11:38
MemberVerdant12321-Oct-04 11:38 
GeneralIE Toolbar Pin
Member 132814121-Oct-04 5:27
MemberMember 132814121-Oct-04 5:27 
GeneralChanging the Form icon Pin
Tony D. Abel21-Oct-04 3:01
MemberTony D. Abel21-Oct-04 3:01 
Generalasynchronous udp Pin
tommy_tanaka21-Oct-04 1:40
Membertommy_tanaka21-Oct-04 1: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.