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

.NET (Core and Framework)

 
GeneralRe: Integrating Google Earth to my "windows application" Pin
led mike9-Apr-08 4:51
led mike9-Apr-08 4:51 
GeneralIntegrating Google Earth to my "windows application" Pin
Member 38458159-Apr-08 19:00
Member 38458159-Apr-08 19:00 
GeneralMaximum connection between client and remoting server. Pin
manikandanid8-Apr-08 19:18
manikandanid8-Apr-08 19:18 
GeneralRe: Maximum connection between client and remoting server. Pin
Dave Kreskowiak9-Apr-08 6:42
mveDave Kreskowiak9-Apr-08 6:42 
GeneralRe: Maximum connection between client and remoting server. Pin
manikandanid9-Apr-08 22:32
manikandanid9-Apr-08 22:32 
GeneralRe: Maximum connection between client and remoting server. Pin
Dave Kreskowiak10-Apr-08 1:46
mveDave Kreskowiak10-Apr-08 1:46 
GeneralSystem.IO.Ports.SerialPort memory issue on WINCE 5.0 device using .Net CF 3.5 Pin
SeanBryant8-Apr-08 14:16
SeanBryant8-Apr-08 14:16 
GeneralRe: System.IO.Ports.SerialPort memory issue on WINCE 5.0 device using .Net CF 3.5 Pin
Luc Pattyn8-Apr-08 14:39
sitebuilderLuc Pattyn8-Apr-08 14:39 
Hi,

I have several comments:

1.
please use PRE tags to show multi-line code snippets

2.
this does not look like actual code; what do you do with bData once it got filled?

3.
why do you think there is a memory leak? whatever .NET program you write, memory usage
will go up until at some point more memory is required and the GC (garbage collector)
kicks in and tries to free some memory (looking for objects that are no longer alive,
i.e. no longer reachable because all references to them are gone).

That would apply to bData since it is no longer reachable once your PortOnRead() method
finishes.

But, remember, the GC kicks in only when more memory is needed than is actually available
(or allowed by some internal OS settings).

So there would be a problem if your app suddenly throws an OutOfMemoryException, or
dramatically fails with some symptoms that are memory-related; and there would be no
problem at all if the memory usage (say the Working Set) keeps growing, suddenly
falls back dramatically, then grows again, etc.

Smile | :)

Luc Pattyn [Forum Guidelines] [My Articles]

This month's tips:
- before you ask a question here, search CodeProject, then Google;
- the quality and detail of your question reflects on the effectiveness of the help you are likely to get;
- use PRE tags to preserve formatting when showing multi-line code snippets.


QuestionDiscover private key with value and hashed value? Pin
Mark J. Miller8-Apr-08 4:43
Mark J. Miller8-Apr-08 4:43 
GeneralRe: Discover private key with value and hashed value? Pin
Dave Kreskowiak8-Apr-08 7:11
mveDave Kreskowiak8-Apr-08 7:11 
GeneralRe: Discover private key with value and hashed value? Pin
Mark J. Miller8-Apr-08 7:17
Mark J. Miller8-Apr-08 7:17 
GeneralRe: Discover private key with value and hashed value? Pin
Dave Kreskowiak8-Apr-08 8:10
mveDave Kreskowiak8-Apr-08 8:10 
GeneralRe: Discover private key with value and hashed value? Pin
Mark J. Miller8-Apr-08 8:18
Mark J. Miller8-Apr-08 8:18 
GeneralRe: Discover private key with value and hashed value? Pin
Mark Churchill10-Apr-08 20:00
Mark Churchill10-Apr-08 20:00 
QuestionIs there a easy Forum creator that can be easily integrated into a .NET environment? Pin
humblepgmr8-Apr-08 3:54
humblepgmr8-Apr-08 3:54 
AnswerRe: Is there a easy Forum creator that can be easily integrated into a .NET environment? Pin
Pete O'Hanlon8-Apr-08 4:30
mvePete O'Hanlon8-Apr-08 4:30 
QuestionApp.Config with xi:include Pin
K.L.K7-Apr-08 14:26
K.L.K7-Apr-08 14:26 
GeneralRe: App.Config with xi:include Pin
K.L.K7-Apr-08 15:00
K.L.K7-Apr-08 15:00 
GeneralMigrating issue Pin
soniasan7-Apr-08 8:58
soniasan7-Apr-08 8:58 
GeneralRe: Migrating issue Pin
Dave Kreskowiak7-Apr-08 10:17
mveDave Kreskowiak7-Apr-08 10:17 
GeneralRe: Migrating issue Pin
soniasan8-Apr-08 1:09
soniasan8-Apr-08 1:09 
GeneralRe: Migrating issue Pin
Dave Kreskowiak8-Apr-08 1:40
mveDave Kreskowiak8-Apr-08 1:40 
QuestionNon-static method as a thread function....How CLR do that? Pin
Secret_Garden7-Apr-08 4:28
Secret_Garden7-Apr-08 4:28 
AnswerRe: Non-static method as a thread function....How CLR do that? Pin
Mark Salsbery7-Apr-08 5:21
Mark Salsbery7-Apr-08 5:21 
AnswerRe: Non-static method as a thread function....How CLR do that? Pin
Mike Dimmick7-Apr-08 5:28
Mike Dimmick7-Apr-08 5:28 

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.