Click here to Skip to main content
15,889,281 members
Home / Discussions / .NET (Core and Framework)
   

.NET (Core and Framework)

 
AnswerRe: Big overview of differences of .NET 2.0 vs 1.1 Pin
Dave Kreskowiak31-Jan-06 9:14
mveDave Kreskowiak31-Jan-06 9:14 
GeneralRe: Big overview of differences of .NET 2.0 vs 1.1 Pin
LuluSailor31-Jan-06 13:51
LuluSailor31-Jan-06 13:51 
AnswerRe: Big overview of differences of .NET 2.0 vs 1.1 Pin
Kevin McFarlane1-Feb-06 6:43
Kevin McFarlane1-Feb-06 6:43 
Questioncopy file from server to localhost using ftp Pin
nbaranidharan31-Jan-06 3:46
nbaranidharan31-Jan-06 3:46 
AnswerRe: copy file from server to localhost using ftp Pin
tarasn31-Jan-06 4:55
tarasn31-Jan-06 4:55 
QuestionIs there any help available for SPRIN .NET Framework ? Pin
Pankaj Kulkarni30-Jan-06 19:38
Pankaj Kulkarni30-Jan-06 19:38 
AnswerRe: Is there any help available for SPRIN .NET Framework ? Pin
Dave Kreskowiak31-Jan-06 5:15
mveDave Kreskowiak31-Jan-06 5:15 
QuestionIs there a way to handle OutOfMemory exceptions? Pin
sarabjs30-Jan-06 8:40
sarabjs30-Jan-06 8:40 
Hello,

I am working on a project that requires me to generate long reports that can have 150 pages or more - Each of these pages are generated as an A4 image (~3500x2480pixels), which is then inserted into an ArrayList...

The problem however is that I'm repeatedly getting OutOfMemory exceptions that I seem to be unable to get rid of despite extensively clearing all objects i'm not using (using the Image.Dispose() method for example) as well as forcing the garbage collector (GC.Collect()) every now and then...

I'm constructing each of these images in the 1bpp pixel format that would mean that each of these images would be ~1MB on average... For 200 images, this (crudely) corresponds to a 200MB ArrayList.. I agree this is a size larger than many RAMs, but shouldn't my computer be able use the pagefile (my pagefile is set to 512MB)??

Any one has any ideas on how I can get rid of, or even handle, these OutOfMemory exceptions??

Thanks,

Sarab
AnswerRe: Is there a way to handle OutOfMemory exceptions? Pin
Guffa30-Jan-06 9:36
Guffa30-Jan-06 9:36 
AnswerRe: Is there a way to handle OutOfMemory exceptions? Pin
likefood30-Jan-06 11:07
likefood30-Jan-06 11:07 
GeneralRe: Is there a way to handle OutOfMemory exceptions? Pin
sarabjs1-Feb-06 6:14
sarabjs1-Feb-06 6:14 
AnswerRe: Is there a way to handle OutOfMemory exceptions? Pin
Ingo31-Jan-06 3:18
Ingo31-Jan-06 3:18 
GeneralRe: Is there a way to handle OutOfMemory exceptions? Pin
Dan Neely31-Jan-06 3:34
Dan Neely31-Jan-06 3:34 
GeneralRe: Is there a way to handle OutOfMemory exceptions? Pin
Ingo31-Jan-06 4:12
Ingo31-Jan-06 4:12 
GeneralRe: Is there a way to handle OutOfMemory exceptions? Pin
Dave Kreskowiak31-Jan-06 5:13
mveDave Kreskowiak31-Jan-06 5:13 
AnswerRe: Is there a way to handle OutOfMemory exceptions? Pin
RajeshGuptha2-Feb-06 7:47
RajeshGuptha2-Feb-06 7:47 
AnswerRe: Is there a way to handle OutOfMemory exceptions? Pin
sarabjs3-Feb-06 10:03
sarabjs3-Feb-06 10:03 
QuestionHow can I flush window events? Pin
swcrissman30-Jan-06 3:37
swcrissman30-Jan-06 3:37 
AnswerRe: How can I flush window events? Pin
kasik30-Jan-06 4:38
kasik30-Jan-06 4:38 
GeneralRe: How can I flush window events? Pin
swcrissman30-Jan-06 5:21
swcrissman30-Jan-06 5:21 
QuestionRequired .NET Profiler Pin
RajeshGuptha30-Jan-06 1:00
RajeshGuptha30-Jan-06 1:00 
AnswerRe: Required .NET Profiler Pin
tarasn30-Jan-06 4:48
tarasn30-Jan-06 4:48 
AnswerRe: Required .NET Profiler Pin
Robert Rohde30-Jan-06 20:24
Robert Rohde30-Jan-06 20:24 
GeneralRe: Required .NET Profiler Pin
RajeshGuptha2-Feb-06 7:58
RajeshGuptha2-Feb-06 7:58 
QuestionInstall Framework 2.0 SDK with Visual Studio 2003 Pin
nikolag29-Jan-06 21:35
nikolag29-Jan-06 21:35 

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.