Click here to Skip to main content
15,900,818 members
Home / Discussions / C#
   

C#

 
GeneralRe: loader lock error using directX sound dll's Pin
Judah Gabriel Himango27-Feb-08 4:32
sponsorJudah Gabriel Himango27-Feb-08 4:32 
QuestionActivator.Create instance - please save my sanity Pin
Nathan Gloyn26-Feb-08 5:31
Nathan Gloyn26-Feb-08 5:31 
GeneralRe: Activator.Create instance - please save my sanity Pin
J a a n s26-Feb-08 5:43
professionalJ a a n s26-Feb-08 5:43 
GeneralRe: Activator.Create instance - please save my sanity Pin
Skippums26-Feb-08 5:47
Skippums26-Feb-08 5:47 
GeneralRe: Activator.Create instance - please save my sanity Pin
Giorgi Dalakishvili26-Feb-08 5:52
mentorGiorgi Dalakishvili26-Feb-08 5:52 
AnswerRe: Activator.Create instance - please save my sanity Pin
Nathan Gloyn26-Feb-08 21:30
Nathan Gloyn26-Feb-08 21:30 
GeneralDataGridView, Memory Usage Pin
Jitse26-Feb-08 5:14
Jitse26-Feb-08 5:14 
GeneralRe: DataGridView, Memory Usage Pin
Colin Angus Mackay26-Feb-08 5:47
Colin Angus Mackay26-Feb-08 5:47 
Jitse wrote:
This is just the GC doing its work, but I didn't know he did it that sporadicly. He also doesn't seem to work in function of time, but in function of total memory usage. He watches how high the memory usage goes, and when it gets to a certain level he finally starts working


It is a function of memory usage.


Jitse wrote:
The method GC.Collect() solves this all of course. So now my question is, when you're working with DataGridViews and a high amount of data, is it recommended to actually just always do a GC.Collect after you cleared the grid?


Generally GC.Collect() shouldn't be used. You should allow the garbage collector to figure out the optimisation.

I would guess that the slowness is due to a high number of very small objects being cleared up.


GeneralRe: DataGridView, Memory Usage Pin
Jitse26-Feb-08 6:04
Jitse26-Feb-08 6:04 
GeneralRe: DataGridView, Memory Usage Pin
Judah Gabriel Himango26-Feb-08 6:27
sponsorJudah Gabriel Himango26-Feb-08 6:27 
GeneralRe: DataGridView, Memory Usage [modified] Pin
Jitse26-Feb-08 9:04
Jitse26-Feb-08 9:04 
GeneralRe: DataGridView, Memory Usage Pin
Judah Gabriel Himango26-Feb-08 13:02
sponsorJudah Gabriel Himango26-Feb-08 13:02 
GeneralRe: DataGridView, Memory Usage Pin
Jitse27-Feb-08 4:24
Jitse27-Feb-08 4:24 
GeneralSending mails Pin
alok_2k326-Feb-08 4:13
alok_2k326-Feb-08 4:13 
GeneralRe: Sending mails Pin
Judah Gabriel Himango26-Feb-08 4:39
sponsorJudah Gabriel Himango26-Feb-08 4:39 
GeneralRe: Sending mails Pin
alok_2k326-Feb-08 6:05
alok_2k326-Feb-08 6:05 
GeneralRe: Sending mails Pin
Judah Gabriel Himango26-Feb-08 6:26
sponsorJudah Gabriel Himango26-Feb-08 6:26 
GeneralRe: Sending mails Pin
alok_2k326-Feb-08 18:43
alok_2k326-Feb-08 18:43 
GeneralRe: Sending mails Pin
Judah Gabriel Himango27-Feb-08 4:08
sponsorJudah Gabriel Himango27-Feb-08 4:08 
GeneralLinq expressions instead of reflection Pin
Roger Alsing26-Feb-08 4:11
Roger Alsing26-Feb-08 4:11 
QuestionMemory leak? Pin
Harvey Saayman26-Feb-08 3:55
Harvey Saayman26-Feb-08 3:55 
AnswerRe: Memory leak? Pin
J4amieC26-Feb-08 4:31
J4amieC26-Feb-08 4:31 
AnswerRe: Memory leak? Pin
Judah Gabriel Himango26-Feb-08 4:31
sponsorJudah Gabriel Himango26-Feb-08 4:31 
Generalmarshalling a complex structure Pin
cruppstahl26-Feb-08 3:41
cruppstahl26-Feb-08 3:41 
GeneralRe: marshalling a complex structure Pin
J a a n s26-Feb-08 5:33
professionalJ a a n s26-Feb-08 5:33 

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.