Click here to Skip to main content
15,885,278 members
Home / Discussions / C#
   

C#

 
AnswerRe: Syste.OutOfMemoryException [modified] Pin
Luc Pattyn11-Mar-09 14:34
sitebuilderLuc Pattyn11-Mar-09 14:34 
AnswerRe: Syste.OutOfMemoryException Pin
DaveyM6911-Mar-09 14:40
professionalDaveyM6911-Mar-09 14:40 
AnswerRe: Syste.OutOfMemoryException Pin
DaveyM6911-Mar-09 14:45
professionalDaveyM6911-Mar-09 14:45 
AnswerRe: Syste.OutOfMemoryException Pin
Member 461797111-Mar-09 14:48
Member 461797111-Mar-09 14:48 
GeneralRe: Syste.OutOfMemoryException Pin
DaveyM6911-Mar-09 14:52
professionalDaveyM6911-Mar-09 14:52 
GeneralRe: Syste.OutOfMemoryException Pin
Member 461797111-Mar-09 14:59
Member 461797111-Mar-09 14:59 
GeneralRe: Syste.OutOfMemoryException Pin
DaveyM6911-Mar-09 15:26
professionalDaveyM6911-Mar-09 15:26 
GeneralRe: Syste.OutOfMemoryException Pin
Luc Pattyn11-Mar-09 15:46
sitebuilderLuc Pattyn11-Mar-09 15:46 
DaveyM69 wrote:
so that shouldn't be the source of your problem.


unless an exception gets thrown, and got swallowed and/or not reported in the post.
Anyway your using construct fixes that.
The file data itself is the only large thing I could spot, nothing else could exhaust memory with less than 25 files, except just maybe the very first Directory.GetAllFiles().

Smile | :)

Luc Pattyn [Forum Guidelines] [My Articles]

- before you ask a question here, search CodeProject, then Google
- the quality and detail of your question reflects on the effectiveness of the help you are likely to get
- use the code block button (PRE tags) to preserve formatting when showing multi-line code snippets


GeneralRe: Syste.OutOfMemoryException Pin
DaveyM6911-Mar-09 15:56
professionalDaveyM6911-Mar-09 15:56 
GeneralRe: Syste.OutOfMemoryException Pin
Luc Pattyn11-Mar-09 16:06
sitebuilderLuc Pattyn11-Mar-09 16:06 
GeneralRe: Syste.OutOfMemoryException Pin
DaveyM6911-Mar-09 23:03
professionalDaveyM6911-Mar-09 23:03 
GeneralRe: Syste.OutOfMemoryException Pin
Member 461797111-Mar-09 15:06
Member 461797111-Mar-09 15:06 
GeneralRe: Syste.OutOfMemoryException Pin
Luc Pattyn11-Mar-09 15:13
sitebuilderLuc Pattyn11-Mar-09 15:13 
GeneralRe: Syste.OutOfMemoryException Pin
Member 461797111-Mar-09 15:16
Member 461797111-Mar-09 15:16 
GeneralRe: Syste.OutOfMemoryException [modified] Pin
Luc Pattyn11-Mar-09 15:49
sitebuilderLuc Pattyn11-Mar-09 15:49 
GeneralRe: Syste.OutOfMemoryException Pin
Member 461797111-Mar-09 16:53
Member 461797111-Mar-09 16:53 
GeneralRe: Syste.OutOfMemoryException Pin
Luc Pattyn11-Mar-09 16:10
sitebuilderLuc Pattyn11-Mar-09 16:10 
GeneralRe: Syste.OutOfMemoryException Pin
Member 461797111-Mar-09 16:55
Member 461797111-Mar-09 16:55 
GeneralRe: Syste.OutOfMemoryException Pin
Luc Pattyn11-Mar-09 17:13
sitebuilderLuc Pattyn11-Mar-09 17:13 
GeneralRe: Syste.OutOfMemoryException Pin
Member 461797111-Mar-09 17:48
Member 461797111-Mar-09 17:48 
AnswerRe: Syste.OutOfMemoryException Pin
Ennis Ray Lynch, Jr.11-Mar-09 19:46
Ennis Ray Lynch, Jr.11-Mar-09 19:46 
QuestionSetting Form2's start position as Form1's last position Pin
Paulo Toureiro11-Mar-09 13:05
Paulo Toureiro11-Mar-09 13:05 
AnswerRe: Setting Form2's start position as Form1's last position Pin
DaveyM6911-Mar-09 13:21
professionalDaveyM6911-Mar-09 13:21 
GeneralRe: Setting Form2's start position as Form1's last position Pin
Paulo Toureiro11-Mar-09 13:40
Paulo Toureiro11-Mar-09 13:40 
GeneralRe: Setting Form2's start position as Form1's last position Pin
Expert Coming11-Mar-09 14:16
Expert Coming11-Mar-09 14:16 

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.