Click here to Skip to main content
16,004,924 members
Home / Discussions / C#
   

C#

 
GeneralRe: Web Browser Control Issue Pin
classNoob25-May-07 6:25
classNoob25-May-07 6:25 
QuestionQuestion on C# XML programming! Pin
jubilanttiger24-May-07 12:41
jubilanttiger24-May-07 12:41 
AnswerRe: Question on C# XML programming! Pin
Dave Herren24-May-07 14:13
Dave Herren24-May-07 14:13 
QuestionHow can I resize an image for a Button? Pin
Khoramdin24-May-07 10:47
Khoramdin24-May-07 10:47 
AnswerRe: How can I resize an image for a Button? Pin
Giorgi Dalakishvili24-May-07 11:04
mentorGiorgi Dalakishvili24-May-07 11:04 
QuestionSaving Changes in DataGrid Pin
Leo Smith24-May-07 10:32
Leo Smith24-May-07 10:32 
AnswerRe: Saving Changes in DataGrid Pin
Muammar©24-May-07 11:05
Muammar©24-May-07 11:05 
QuestionReflection Memory Leak W2003 Pin
rmga24-May-07 10:31
rmga24-May-07 10:31 
Hi,

I developed a Transactional Server that receives at leat a transaction per second.

The application has a pool of threads that resolve each incoming transaction. This threads use reflection for dynamic execution of generated source code. If the execution returns 0 the program send an approval. If the executions returns 0, the application creates a thread to notify the adminitrators of the systems.

The thread join was resolve creating a CollectorThread that receives a reference of every thread and it wait to them to die.

The application is working well, except for one issue. When each thread uses the Reflection to create the Dinamic execution the memory grows about 80kb, after that I disposed the object and wait for the garbage collector to clean that memory.

When the app is running in Windows XP everything seems to work just fine. But, when the app is running in Windows 2003 ( Dual Core 2 ) the memory grows and grows and it's never collect by the GC.
I also try the AppConfig GCServer option, but it didn't fixed the issue.

Somebody knows something about a bug with the Framework 2.0 in Windows 2003? Is there something else that reflection? (Besides programming my own parser)

Thanks.

rmga

AnswerRe: Reflection Memory Leak W2003 Pin
Luc Pattyn24-May-07 11:21
sitebuilderLuc Pattyn24-May-07 11:21 
GeneralRe: Reflection Memory Leak W2003 Pin
rmga24-May-07 13:23
rmga24-May-07 13:23 
GeneralRe: Reflection Memory Leak W2003 Pin
rmga24-May-07 13:31
rmga24-May-07 13:31 
GeneralRe: Reflection Memory Leak W2003 Pin
Luc Pattyn25-May-07 3:51
sitebuilderLuc Pattyn25-May-07 3:51 
GeneralRe: Reflection Memory Leak W2003 Pin
Luc Pattyn24-May-07 13:34
sitebuilderLuc Pattyn24-May-07 13:34 
QuestionReference to Word 2003 Pin
Larza12324-May-07 9:37
Larza12324-May-07 9:37 
AnswerRe: Reference to Word 2003 Pin
Dave Herren24-May-07 9:56
Dave Herren24-May-07 9:56 
AnswerRe: Reference to Word 2003 Pin
Muammar©24-May-07 23:48
Muammar©24-May-07 23:48 
QuestionUser control in DataGridView cell Pin
pserranop24-May-07 8:58
pserranop24-May-07 8:58 
QuestionHow to capture the final DocumentCompleted in Pin
Epsilone324-May-07 6:47
Epsilone324-May-07 6:47 
AnswerRe: How to capture the final DocumentCompleted in Pin
Epsilone324-May-07 8:08
Epsilone324-May-07 8:08 
QuestionListening to program events. Pin
Muntyness24-May-07 6:10
Muntyness24-May-07 6:10 
AnswerRe: Listening to program events. Pin
Dave Herren24-May-07 6:26
Dave Herren24-May-07 6:26 
GeneralRe: Listening to program events. Pin
Muntyness24-May-07 6:48
Muntyness24-May-07 6:48 
AnswerRe: Listening to program events. Pin
Dave Kreskowiak24-May-07 6:57
mveDave Kreskowiak24-May-07 6:57 
GeneralRe: Listening to program events. Pin
Muntyness24-May-07 7:26
Muntyness24-May-07 7:26 
Questionread from DAT file Pin
Mohammed Elkholy24-May-07 6:05
Mohammed Elkholy24-May-07 6:05 

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.