Click here to Skip to main content
15,892,281 members
Home / Discussions / C#
   

C#

 
JokeRe: Communicating with windows services Pin
musefan19-Mar-09 7:51
musefan19-Mar-09 7:51 
GeneralRe: Communicating with windows services Pin
mirko8619-Mar-09 8:01
mirko8619-Mar-09 8:01 
GeneralRe: Communicating with windows services Pin
led mike19-Mar-09 7:51
led mike19-Mar-09 7:51 
AnswerRe: Communicating with windows services Pin
King Julien20-Mar-09 5:36
King Julien20-Mar-09 5:36 
QuestionPerformance in C# application Pin
sergiq219-Mar-09 6:38
sergiq219-Mar-09 6:38 
AnswerRe: Performance in C# application Pin
Jon Rista19-Mar-09 7:10
Jon Rista19-Mar-09 7:10 
GeneralRe: Performance in C# application Pin
sergiq219-Mar-09 7:24
sergiq219-Mar-09 7:24 
GeneralRe: Performance in C# application Pin
Jon Rista19-Mar-09 14:24
Jon Rista19-Mar-09 14:24 
I can't say exactly what the memory load would be. It entirely depends on the size of your records. If they are all maximum size (aprox 8000 bytes, barring varchar(max) columns), and factoring in .NET overhead, 100000 records will use approximately a gig of memory. That is JUST for the rows...that doesn't factor in any other memory used by your application. Assuming you want this application to work on 32bit systems, then you will really be pushing it, as each app in 32bit windows gets a maximum of 2Gb addressable memory space.

That aside, there are much deeper concerns than memory consumption here. You are trying to cache ALL of your data in memory. Its not as simple as sticking all your records in a collection. There are usually relationships between data, concurrent updates, general data integrity, etc. to worry about when you cache that much data. Despite the fact that you have already started development, I think you need to take a step back and really evaluate what caching all your data means to the long-term sustainability of your project. You may think that continuing on will save time and money...but you are just as likely to introduce some very complex scenarios due to your caching that will need to be addressed down the road, and that could cause your long-term costs to explode far beyond any short-term costs of reevaluating your approach.
GeneralRe: Performance in C# application Pin
sergiq219-Mar-09 23:29
sergiq219-Mar-09 23:29 
GeneralRe: Performance in C# application Pin
Jon Rista20-Mar-09 8:37
Jon Rista20-Mar-09 8:37 
GeneralRe: Performance in C# application Pin
sergiq220-Mar-09 8:46
sergiq220-Mar-09 8:46 
QuestionQuestion on DataTable Pin
Sider8919-Mar-09 6:37
Sider8919-Mar-09 6:37 
AnswerRe: Question on DataTable Pin
dan!sh 19-Mar-09 6:46
professional dan!sh 19-Mar-09 6:46 
AnswerRe: Question on DataTable Pin
Sider8919-Mar-09 6:59
Sider8919-Mar-09 6:59 
GeneralRe: Question on DataTable Pin
dan!sh 19-Mar-09 7:17
professional dan!sh 19-Mar-09 7:17 
AnswerRe: Question on DataTable Pin
Xmen Real 19-Mar-09 7:40
professional Xmen Real 19-Mar-09 7:40 
QuestionQuestion on datagridview (.Net 2005, framework 2.0) Pin
priyamtheone19-Mar-09 6:08
priyamtheone19-Mar-09 6:08 
AnswerRe: Question on datagridview (.Net 2005, framework 2.0) Pin
dan!sh 19-Mar-09 6:13
professional dan!sh 19-Mar-09 6:13 
AnswerRe: Question on datagridview (.Net 2005, framework 2.0) Pin
Mirko198019-Mar-09 6:26
Mirko198019-Mar-09 6:26 
GeneralRe: Question on datagridview (.Net 2005, framework 2.0) Pin
priyamtheone27-Mar-09 3:12
priyamtheone27-Mar-09 3:12 
QuestionNT Service user [modified] Pin
Qbashi19-Mar-09 5:54
Qbashi19-Mar-09 5:54 
AnswerRe: NT Service user Pin
Yusuf19-Mar-09 7:08
Yusuf19-Mar-09 7:08 
GeneralRe: NT Service user Pin
Qbashi20-Mar-09 4:57
Qbashi20-Mar-09 4:57 
GeneralRe: NT Service user Pin
Yusuf20-Mar-09 6:54
Yusuf20-Mar-09 6:54 
GeneralRe: NT Service user Pin
Qbashi22-Mar-09 23:58
Qbashi22-Mar-09 23:58 

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.