Click here to Skip to main content
15,914,258 members
Home / Discussions / C#
   

C#

 
GeneralRe: ListView removes items too slow Pin
Ed.Poore26-Feb-08 10:54
Ed.Poore26-Feb-08 10:54 
GeneralRe: ListView removes items too slow Pin
Xmen Real 26-Feb-08 14:24
professional Xmen Real 26-Feb-08 14:24 
GeneralRe: ListView removes items too slow Pin
Scott Dorman26-Feb-08 16:17
professionalScott Dorman26-Feb-08 16:17 
GeneralRe: ListView removes items too slow Pin
Xmen Real 26-Feb-08 16:52
professional Xmen Real 26-Feb-08 16:52 
GeneralFTP Command not implemented problem Pin
hi_siddhu26-Feb-08 6:07
hi_siddhu26-Feb-08 6:07 
GeneralRe: FTP Command not implemented problem Pin
Christian Graus26-Feb-08 9:54
protectorChristian Graus26-Feb-08 9:54 
Generalloader lock error using directX sound dll's Pin
rao raja26-Feb-08 5:55
rao raja26-Feb-08 5:55 
GeneralRe: loader lock error using directX sound dll's Pin
Judah Gabriel Himango26-Feb-08 6:29
sponsorJudah Gabriel Himango26-Feb-08 6:29 
GeneralRe: loader lock error using directX sound dll's Pin
rao raja26-Feb-08 14:59
rao raja26-Feb-08 14:59 
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 

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.