Click here to Skip to main content
15,917,565 members
Home / Discussions / C#
   

C#

 
AnswerRe: Convert VB.NET 2005 to C#.NET 2005 Pin
mcljava15-Mar-06 11:43
mcljava15-Mar-06 11:43 
AnswerRe: Convert VB.NET 2005 to C#.NET 2005 Pin
mcljava15-Mar-06 12:16
mcljava15-Mar-06 12:16 
AnswerRe: Convert VB.NET 2005 to C#.NET 2005 Pin
Dave Doknjas15-Mar-06 13:48
Dave Doknjas15-Mar-06 13:48 
AnswerRe: Convert VB.NET 2005 to C#.NET 2005 Pin
angelagke15-Mar-06 15:40
angelagke15-Mar-06 15:40 
QuestionTabControl Pin
Sabry190515-Mar-06 5:15
Sabry190515-Mar-06 5:15 
QuestionGarbage Collection needed? Pin
Glenn E. Lanier II15-Mar-06 4:57
Glenn E. Lanier II15-Mar-06 4:57 
AnswerRe: Garbage Collection needed? Pin
Colin Angus Mackay15-Mar-06 6:02
Colin Angus Mackay15-Mar-06 6:02 
GeneralRe: Garbage Collection needed? Pin
Glenn E. Lanier II15-Mar-06 6:15
Glenn E. Lanier II15-Mar-06 6:15 
Colin Angus Mackay wrote:
If you are looking at the memory in the Task Manager then it will be showing the amount it has reserved from the operating system, not the actual amount in use. There are a number of performance counters you can look at for .NET applications. They will give you a more accurate picture of what is going on.


Such as?

I let this code run yesterday (without the GC.Collect()) on about 60000 records. I logged each update, and noticed that while I was getting > 1 insert/second initially, by record 20000 insert time was reduced (as was machine response time) and by the time I got to record 32000, I was getting an insert every two-three minutes. Task Manager showed this process was using ~485M of memory. As soon as I killed the process, memory usage (again, using task manager) dropped almost immediately. I started the import again (skipping the already imported records), and I saw similiar results.

I'm open to any suggestion(s) that will allow this code to run efficiently. Confused | :confused:

--G
AnswerRe: Garbage Collection needed? Pin
Judah Gabriel Himango15-Mar-06 7:06
sponsorJudah Gabriel Himango15-Mar-06 7:06 
GeneralRe: Garbage Collection needed? Pin
Glenn E. Lanier II15-Mar-06 8:39
Glenn E. Lanier II15-Mar-06 8:39 
GeneralRe: Garbage Collection needed? Pin
Judah Gabriel Himango15-Mar-06 9:00
sponsorJudah Gabriel Himango15-Mar-06 9:00 
GeneralRe: Garbage Collection needed? Pin
Glenn E. Lanier II15-Mar-06 8:44
Glenn E. Lanier II15-Mar-06 8:44 
QuestionHow to print a C# form Pin
JuJAngel15-Mar-06 3:56
JuJAngel15-Mar-06 3:56 
AnswerRe: How to print a C# form Pin
Ed.Poore15-Mar-06 6:47
Ed.Poore15-Mar-06 6:47 
GeneralRe: How to print a C# form Pin
JuJAngel18-Mar-06 9:36
JuJAngel18-Mar-06 9:36 
GeneralRe: How to print a C# form Pin
Ed.Poore18-Mar-06 10:45
Ed.Poore18-Mar-06 10:45 
Questionhow to do "123=6 23567=23"??? Pin
gursucan15-Mar-06 3:56
gursucan15-Mar-06 3:56 
AnswerRe: how to do "123=6 23567=23"??? Pin
Guffa15-Mar-06 4:03
Guffa15-Mar-06 4:03 
AnswerRe: how to do "123=6 23567=23"??? Pin
Lju215-Mar-06 9:07
Lju215-Mar-06 9:07 
AnswerRe: how to do "123=6 23567=23"??? Pin
Luis Alonso Ramos15-Mar-06 18:49
Luis Alonso Ramos15-Mar-06 18:49 
QuestionHow to do syntax hightlighting? Pin
SirErugor15-Mar-06 3:26
SirErugor15-Mar-06 3:26 
AnswerRe: How to do syntax hightlighting? Pin
Ed.Poore15-Mar-06 5:41
Ed.Poore15-Mar-06 5:41 
GeneralRe: How to do syntax hightlighting? Pin
SirErugor15-Mar-06 5:48
SirErugor15-Mar-06 5:48 
GeneralRe: How to do syntax hightlighting? Pin
Colin Angus Mackay15-Mar-06 6:06
Colin Angus Mackay15-Mar-06 6:06 
GeneralRe: How to do syntax hightlighting? Pin
Ed.Poore15-Mar-06 6:26
Ed.Poore15-Mar-06 6:26 

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.