Click here to Skip to main content
15,887,485 members
Home / Discussions / Visual Basic
   

Visual Basic

 
GeneralRe: Need algorithm Pin
tosch15-Sep-09 2:35
tosch15-Sep-09 2:35 
GeneralRe: Need algorithm Pin
xx77abs15-Sep-09 8:30
xx77abs15-Sep-09 8:30 
QuestionHigh memory usage Pin
TheMrProgrammer13-Sep-09 5:22
TheMrProgrammer13-Sep-09 5:22 
AnswerRe: High memory usage Pin
Steven J Jowett13-Sep-09 5:31
Steven J Jowett13-Sep-09 5:31 
GeneralRe: High memory usage Pin
TheMrProgrammer13-Sep-09 6:31
TheMrProgrammer13-Sep-09 6:31 
GeneralRe: High memory usage Pin
Hurricane300013-Sep-09 6:38
Hurricane300013-Sep-09 6:38 
GeneralRe: High memory usage Pin
TheMrProgrammer13-Sep-09 18:01
TheMrProgrammer13-Sep-09 18:01 
GeneralRe: High memory usage Pin
N a v a n e e t h13-Sep-09 6:59
N a v a n e e t h13-Sep-09 6:59 
TheMrProgrammer wrote:
well it is really essential to load all the data, so i'll have to load it.


I am not sure why you need to do this. Are you doing this to make further data fetching to be from memory and do you think it is going to be faster than querying database for required data? If you need frequent data retrieval, array won't be the right data structure as it takes linear time for search.

TheMrProgrammer wrote:
what i am looking for is a method to lower the memory utilization.


Do you have 2 million unique strings? Strings are interned by the CLR and same strings can share the memory. Have you profiled your application? Use CLR profiler and find out which area is using more memory.

So hard to tell more without knowing details about your application.


GeneralRe: High memory usage Pin
TheMrProgrammer13-Sep-09 18:02
TheMrProgrammer13-Sep-09 18:02 
GeneralRe: High memory usage Pin
Dave Kreskowiak13-Sep-09 15:21
mveDave Kreskowiak13-Sep-09 15:21 
GeneralRe: High memory usage Pin
TheMrProgrammer13-Sep-09 18:03
TheMrProgrammer13-Sep-09 18:03 
AnswerRe: High memory usage Pin
Henry Minute13-Sep-09 5:35
Henry Minute13-Sep-09 5:35 
AnswerRe: High memory usage Pin
Hurricane300013-Sep-09 6:13
Hurricane300013-Sep-09 6:13 
AnswerRe: High memory usage Pin
Luc Pattyn13-Sep-09 6:46
sitebuilderLuc Pattyn13-Sep-09 6:46 
QuestionRe: High memory usage Pin
TheMrProgrammer13-Sep-09 17:59
TheMrProgrammer13-Sep-09 17:59 
AnswerRe: High memory usage Pin
N a v a n e e t h13-Sep-09 18:18
N a v a n e e t h13-Sep-09 18:18 
AnswerRe: High memory usage Pin
Luc Pattyn14-Sep-09 2:26
sitebuilderLuc Pattyn14-Sep-09 2:26 
JokeRe: High memory usage Pin
N a v a n e e t h14-Sep-09 16:09
N a v a n e e t h14-Sep-09 16:09 
AnswerRe: High memory usage Pin
programmervb.netc++14-Sep-09 14:05
programmervb.netc++14-Sep-09 14:05 
QuestionGetting Blank text value on Textbox Keypress [modified] Pin
mdrizwan_111-Sep-09 20:59
mdrizwan_111-Sep-09 20:59 
AnswerRe: Getting Blank text value on Textbox Keypress Pin
Christian Graus11-Sep-09 21:08
protectorChristian Graus11-Sep-09 21:08 
AnswerRe: Getting Blank text value on Textbox Keypress Pin
Abhishek Sur12-Sep-09 13:39
professionalAbhishek Sur12-Sep-09 13:39 
QuestionVisual Basic to generate a drawing Pin
Member 419652111-Sep-09 18:31
Member 419652111-Sep-09 18:31 
AnswerRe: Visual Basic to generate a drawing Pin
Christian Graus11-Sep-09 18:36
protectorChristian Graus11-Sep-09 18:36 
GeneralRe: Visual Basic to generate a drawing Pin
Member 419652111-Sep-09 19:09
Member 419652111-Sep-09 19:09 

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.