Click here to Skip to main content
15,929,587 members
Home / Discussions / Visual Basic
   

Visual Basic

 
GeneralRe: Class terminates immediately VB6 Pin
Dave Kreskowiak26-Sep-06 5:04
mveDave Kreskowiak26-Sep-06 5:04 
QuestionOpen File Pin
samira forooghi25-Sep-06 2:42
samira forooghi25-Sep-06 2:42 
GeneralRe: Open File Pin
amaneet25-Sep-06 6:44
amaneet25-Sep-06 6:44 
AnswerRe: Open File Pin
Dave Kreskowiak25-Sep-06 6:59
mveDave Kreskowiak25-Sep-06 6:59 
QuestionI need Vb.net code to search from database, its for a Procurement company project Pin
lynnmagunje25-Sep-06 0:50
lynnmagunje25-Sep-06 0:50 
AnswerRe: I need Vb.net code to search from database, its for a Procurement company project Pin
User 171649225-Sep-06 1:58
professionalUser 171649225-Sep-06 1:58 
QuestionI need Vb.net code to search from database, its for a Procurement company project Pin
lynnmagunje25-Sep-06 0:48
lynnmagunje25-Sep-06 0:48 
QuestionVB.net File Find and Replace Memory intensive! Pin
MichaelWithersone25-Sep-06 0:07
MichaelWithersone25-Sep-06 0:07 
Hello, Iam having a problem with the amount of memory consumed by the aspnet process when performing find and replace operations on large strings. I have a scenario where iam reading a 26mb file into a string using streamReader and then performing upto about 40 find and replace operations.

The problem is, when I do this the aspnet process eats upto 500mb of RAM which is quite obviously not an acceptable overhead! Obviously reading a 26mb file into a string type probably wasnt the intended use for this variable type which why iam seeing such high ram usage.

Does anybody have any ideas of how to perform a find and replace on a large volume of data without the RAM usage spiralling out of control.

PS Ive already tried invoking a fast command line F+R utility which has worked and reduced the memory footprint - but the performance has dropped and the F+R operation now takes 2 minutes longer then before which isnt acceptable either!

I would be very grateful for any input or ideas on this!

Thanks Very Much , Michael
AnswerRe: VB.net File Find and Replace Memory intensive! Pin
Christian Graus25-Sep-06 0:22
protectorChristian Graus25-Sep-06 0:22 
GeneralRe: VB.net File Find and Replace Memory intensive! Pin
MichaelWithersone25-Sep-06 0:56
MichaelWithersone25-Sep-06 0:56 
AnswerRe: VB.net File Find and Replace Memory intensive! Pin
Guffa25-Sep-06 2:38
Guffa25-Sep-06 2:38 
GeneralRe: VB.net File Find and Replace Memory intensive! Pin
MichaelWithersone25-Sep-06 4:12
MichaelWithersone25-Sep-06 4:12 
Questionupdate app.config file at runtime Pin
steve_rm24-Sep-06 23:49
steve_rm24-Sep-06 23:49 
AnswerRe: update app.config file at runtime Pin
Christian Graus25-Sep-06 0:34
protectorChristian Graus25-Sep-06 0:34 
QuestionRe: update app.config file at runtime Pin
steve_rm25-Sep-06 1:20
steve_rm25-Sep-06 1:20 
AnswerRe: update app.config file at runtime Pin
TJO125-Sep-06 2:35
TJO125-Sep-06 2:35 
QuestionRe: update app.config file at runtime Pin
steve_rm25-Sep-06 3:20
steve_rm25-Sep-06 3:20 
AnswerRe: update app.config file at runtime Pin
Dave Kreskowiak25-Sep-06 4:58
mveDave Kreskowiak25-Sep-06 4:58 
AnswerRe: update app.config file at runtime Pin
TJO126-Sep-06 2:26
TJO126-Sep-06 2:26 
Question[Message Deleted] Pin
PREMSONBABY24-Sep-06 23:13
PREMSONBABY24-Sep-06 23:13 
AnswerRe: Hi, this is a Treeview related question Pin
Dave Kreskowiak25-Sep-06 4:55
mveDave Kreskowiak25-Sep-06 4:55 
Questionwat is VCNT in vb6? Pin
campbells24-Sep-06 21:30
campbells24-Sep-06 21:30 
AnswerRe: wat is VCNT in vb6? Pin
Dave Kreskowiak25-Sep-06 4:35
mveDave Kreskowiak25-Sep-06 4:35 
Questionhow to open a wizard in vb.net Pin
Batchu Rajesh24-Sep-06 21:18
Batchu Rajesh24-Sep-06 21:18 
AnswerRe: how to open a wizard in vb.net Pin
Christian Graus24-Sep-06 21:28
protectorChristian Graus24-Sep-06 21:28 

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.