Click here to Skip to main content
15,922,419 members
Home / Discussions / C#
   

C#

 
GeneralRe: OnKeyDown & OnKeyUp events are never called Pin
compubaby26-May-06 11:14
compubaby26-May-06 11:14 
GeneralRe: OnKeyDown & OnKeyUp events are never called Pin
compubaby27-May-06 1:17
compubaby27-May-06 1:17 
QuestionDisplaying Pin
dayakar_dn25-May-06 2:55
dayakar_dn25-May-06 2:55 
QuestionWriting thousands of images to disk Pin
Emiliano25-May-06 2:25
Emiliano25-May-06 2:25 
AnswerRe: Writing thousands of images to disk Pin
J4amieC25-May-06 2:40
J4amieC25-May-06 2:40 
GeneralRe: Writing thousands of images to disk Pin
Emiliano25-May-06 3:02
Emiliano25-May-06 3:02 
GeneralRe: Writing thousands of images to disk Pin
J4amieC25-May-06 3:50
J4amieC25-May-06 3:50 
AnswerRe: Writing thousands of images to disk [modified] Pin
Judah Gabriel Himango25-May-06 5:45
sponsorJudah Gabriel Himango25-May-06 5:45 
If memory keeps going up and up, the system may be too busy to allow the garbage collector to continue collecting. You can force a garbage collection using GC.Collect() and GC.WaitForPendingFinalizers().

Also, after you dispose an image, make sure you call GC.SuppressFinalize(theImage) so that the GC knows the finalizer doesn't need to be called on the image.

Since you're doing so many images per second, every little bit counts. If you're still having trouble, try running your app under a memory profiler such as ANTS[^].

Tech, life, family, faith: Give me a visit.
I'm currently blogging about: Islamic Domination: Coming to a Jewish state near you!
The apostle Paul, modernly speaking: Epistles of Paul

Judah Himango


GeneralRe: Writing thousands of images to disk [modified] Pin
Emiliano25-May-06 6:23
Emiliano25-May-06 6:23 
Questionupgrading from VS.Net2003->2005 Pin
e_LA25-May-06 2:18
e_LA25-May-06 2:18 
AnswerRe: upgrading from VS.Net2003->2005 Pin
Kevin McFarlane25-May-06 2:29
Kevin McFarlane25-May-06 2:29 
GeneralRe: upgrading from VS.Net2003->2005 Pin
e_LA25-May-06 2:34
e_LA25-May-06 2:34 
GeneralRe: upgrading from VS.Net2003->2005 Pin
Kevin McFarlane25-May-06 4:08
Kevin McFarlane25-May-06 4:08 
GeneralRe: upgrading from VS.Net2003->2005 Pin
Kevin McFarlane30-May-06 0:37
Kevin McFarlane30-May-06 0:37 
GeneralRe: upgrading from VS.Net2003->2005 Pin
e_LA30-May-06 0:48
e_LA30-May-06 0:48 
GeneralRe: upgrading from VS.Net2003->2005 Pin
Kevin McFarlane30-May-06 8:59
Kevin McFarlane30-May-06 8:59 
GeneralRe: upgrading from VS.Net2003->2005 Pin
e_LA30-May-06 19:37
e_LA30-May-06 19:37 
AnswerRe: upgrading from VS.Net2003->2005 Pin
Vikram A Punathambekar25-May-06 4:33
Vikram A Punathambekar25-May-06 4:33 
GeneralRe: upgrading from VS.Net2003->2005 Pin
e_LA25-May-06 20:12
e_LA25-May-06 20:12 
QuestionCalling .Net dll from vb.exe Pin
vamsimohan2125-May-06 2:10
vamsimohan2125-May-06 2:10 
Questiona question about displaying time ? Pin
cmpeng3425-May-06 2:09
cmpeng3425-May-06 2:09 
AnswerRe: a question about displaying time ? Pin
Phanindra Kumar25-May-06 2:17
Phanindra Kumar25-May-06 2:17 
AnswerRe: a question about displaying time ? [modified] Pin
albCode25-May-06 2:17
albCode25-May-06 2:17 
AnswerRe: a question about displaying time ? Pin
rah_sin25-May-06 2:27
professionalrah_sin25-May-06 2:27 
AnswerRe: a question about displaying time ? Pin
albCode25-May-06 2:30
albCode25-May-06 2:30 

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.