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

.NET (Core and Framework)

 
Questiongetpixel code in vb.net Pin
Member 102255297-Oct-13 20:05
Member 102255297-Oct-13 20:05 
AnswerRe: getpixel code in vb.net Pin
Richard MacCutchan7-Oct-13 21:24
mveRichard MacCutchan7-Oct-13 21:24 
AnswerRe: getpixel code in vb.net Pin
Bernhard Hiller7-Oct-13 21:25
Bernhard Hiller7-Oct-13 21:25 
SuggestionRe: getpixel code in vb.net Pin
Matt T Heffron8-Oct-13 7:55
professionalMatt T Heffron8-Oct-13 7:55 
QuestionMessage Removed Pin
7-Oct-13 18:04
solomonvincent7-Oct-13 18:04 
QuestionGenerations in .Net Pin
indian1437-Oct-13 8:07
indian1437-Oct-13 8:07 
AnswerRe: Generations in .Net Pin
Pete O'Hanlon7-Oct-13 8:39
mvePete O'Hanlon7-Oct-13 8:39 
AnswerRe: Generations in .Net Pin
techyamit78-Oct-13 3:54
techyamit78-Oct-13 3:54 
Hi Abdul,

The answer to your question is that scenario 1 will be more faster, as there are very few elements in Gen 1 than Gen 2, as the frequency of lower generations garbage collection is more than higher one, even the top 1 which is Gen 2, and if we have few elements in Gen 1 then it will be easier and quicker for GC to complete.

BUT, if we consider memory management here and suppose as you mentioned yours is the scalable application then if for each session/user 50 objects are kept in Gen 2, then your 1st scenario will perform slow. Also in that case for new memory request which will occur when any new user will connect then in need of memory GC has to rerun very frequently.

so both the cases have their own pros and cons.

Gen 2 GCs are also considered to be slower.

I will send you more appropriate article for all this stuff.

Regards,
Amit Kumar
GeneralRe: Generations in .Net Pin
indian1438-Oct-13 11:48
indian1438-Oct-13 11:48 
SuggestionRe: Generations in .Net Pin
Matt T Heffron8-Oct-13 12:46
professionalMatt T Heffron8-Oct-13 12:46 
GeneralRe: Generations in .Net Pin
techyamit78-Oct-13 18:57
techyamit78-Oct-13 18:57 
AnswerRe: Generations in .Net Pin
jschell9-Oct-13 8:00
jschell9-Oct-13 8:00 
QuestionMedium size ERP project development using MVC 4 Pin
Member 103188916-Oct-13 9:21
Member 103188916-Oct-13 9:21 
AnswerRe: Medium size ERP project development using MVC 4 Pin
Pete O'Hanlon6-Oct-13 10:20
mvePete O'Hanlon6-Oct-13 10:20 
AnswerRe: Medium size ERP project development using MVC 4 Pin
techyamit78-Oct-13 3:58
techyamit78-Oct-13 3:58 
AnswerRe: Medium size ERP project development using MVC 4 Pin
Paulo Augusto Kunzel9-Oct-13 5:30
professionalPaulo Augusto Kunzel9-Oct-13 5:30 
QuestionDetecting which key is pressed,vb.net Pin
srinivasankrishnaa5-Oct-13 22:43
srinivasankrishnaa5-Oct-13 22:43 
AnswerRe: Detecting which key is pressed,vb.net Pin
Eddy Vluggen6-Oct-13 0:46
professionalEddy Vluggen6-Oct-13 0:46 
AnswerRe: Detecting which key is pressed,vb.net Pin
Dave Kreskowiak6-Oct-13 4:27
mveDave Kreskowiak6-Oct-13 4:27 
GeneralRe: Detecting which key is pressed,vb.net Pin
srinivasankrishnaa7-Oct-13 2:53
srinivasankrishnaa7-Oct-13 2:53 
GeneralRe: Detecting which key is pressed,vb.net Pin
Dave Kreskowiak7-Oct-13 3:44
mveDave Kreskowiak7-Oct-13 3:44 
GeneralRe: Detecting which key is pressed,vb.net Pin
srinivasankrishnaa7-Oct-13 4:32
srinivasankrishnaa7-Oct-13 4:32 
GeneralRe: Detecting which key is pressed,vb.net Pin
Dave Kreskowiak7-Oct-13 9:22
mveDave Kreskowiak7-Oct-13 9:22 
GeneralRe: Detecting which key is pressed,vb.net Pin
Eddy Vluggen7-Oct-13 5:03
professionalEddy Vluggen7-Oct-13 5:03 
GeneralRe: Detecting which key is pressed,vb.net Pin
srinivasankrishnaa7-Oct-13 5:21
srinivasankrishnaa7-Oct-13 5:21 

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.