Click here to Skip to main content
15,890,557 members
Home / Discussions / C#
   

C#

 
AnswerRe: coredll.dll Error Pin
stancrm26-Aug-09 20:58
stancrm26-Aug-09 20:58 
QuestionHow to fix number of line for a RichText box Pin
Nekkantidivya26-Aug-09 20:03
Nekkantidivya26-Aug-09 20:03 
AnswerRe: How to fix number of line for a RichText box Pin
stancrm26-Aug-09 20:37
stancrm26-Aug-09 20:37 
Questiondata gridview and data table Pin
myinstincts26-Aug-09 20:00
myinstincts26-Aug-09 20:00 
QuestionHow tro read the text of a PDF file opened in adobe Reader using c# Pin
svt gdwl26-Aug-09 19:54
svt gdwl26-Aug-09 19:54 
AnswerRe: How tro read the text of a PDF file opened in adobe Reader using c# Pin
N a v a n e e t h26-Aug-09 21:00
N a v a n e e t h26-Aug-09 21:00 
AnswerRe: How tro read the text of a PDF file opened in adobe Reader using c# Pin
Rajesh R Subramanian26-Aug-09 22:08
professionalRajesh R Subramanian26-Aug-09 22:08 
QuestionRegex.Replace = 1.2Gb of memory usage?! Pin
Thomas Kemper26-Aug-09 19:44
Thomas Kemper26-Aug-09 19:44 
I'm using a regular expression to remove some whitespace in a string (length of ~200 characters), which immediately results in memory usage of 1.2+ gig. Stepping through my code in the IDE, everything is fine until I hit this line intended to remove the whitespace between XML tags...

string cleanStr = Regex.Replace(inputStr, @">\s+<", "><");


Evaluating this line results in the immediate occupation of memory. Oddly enough, this is not the case when I run the standalone executable independant of the IDE. I'm pretty new to regular expressions, but this does actually achieve what I want...just with a massive memory footprint.

Suggestions?
AnswerRe: Regex.Replace = 1.2Gb of memory usage?! Pin
N a v a n e e t h26-Aug-09 20:58
N a v a n e e t h26-Aug-09 20:58 
QuestionVersion problem Pin
vijaylumar26-Aug-09 19:43
vijaylumar26-Aug-09 19:43 
QuestionHow To Capture and alter the incoming packets from my connection Pin
spiritboy26-Aug-09 19:24
spiritboy26-Aug-09 19:24 
AnswerRe: How To Capture and alter the incoming packets from my connection Pin
stancrm26-Aug-09 20:40
stancrm26-Aug-09 20:40 
GeneralRe: How To Capture and alter the incoming packets from my connection Pin
spiritboy26-Aug-09 22:12
spiritboy26-Aug-09 22:12 
GeneralRe: How To Capture and alter the incoming packets from my connection Pin
stancrm26-Aug-09 22:46
stancrm26-Aug-09 22:46 
GeneralRe: How To Capture and alter the incoming packets from my connection Pin
spiritboy27-Aug-09 1:52
spiritboy27-Aug-09 1:52 
GeneralRe: How To Capture and alter the incoming packets from my connection Pin
stancrm27-Aug-09 2:03
stancrm27-Aug-09 2:03 
Questioncontrol validator... Pin
darolia.manish26-Aug-09 19:13
darolia.manish26-Aug-09 19:13 
AnswerRe: control validator... Pin
Henry Minute27-Aug-09 1:13
Henry Minute27-Aug-09 1:13 
Questionsending mail to outlook and receiving mail using C# Pin
MahaKh26-Aug-09 18:51
MahaKh26-Aug-09 18:51 
AnswerRe: sending mail to outlook and receiving mail using C# Pin
Arun Jacob26-Aug-09 19:05
Arun Jacob26-Aug-09 19:05 
QuestionC# equivalent of "EXCEPTION_CONTINUE_EXECUTION" with exception filter Pin
LiYS26-Aug-09 18:46
LiYS26-Aug-09 18:46 
AnswerRe: C# equivalent of "EXCEPTION_CONTINUE_EXECUTION" with exception filter Pin
stancrm26-Aug-09 20:42
stancrm26-Aug-09 20:42 
Question[Message Deleted] Pin
darolia.manish26-Aug-09 18:42
darolia.manish26-Aug-09 18:42 
AnswerRe: C# in ASP.Net Pin
Suresh Suthar26-Aug-09 18:54
professionalSuresh Suthar26-Aug-09 18:54 
Questionnavigation through records Pin
swtlibra26-Aug-09 17:33
swtlibra26-Aug-09 17:33 

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.