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

C#

 
QuestionGraphics.DrawImage - why it's so slow? Pin
Libor Tinka25-Jan-06 11:26
Libor Tinka25-Jan-06 11:26 
AnswerRe: Graphics.DrawImage - why it's so slow? Pin
[Marc]25-Jan-06 12:13
[Marc]25-Jan-06 12:13 
AnswerRe: Graphics.DrawImage - why it's so slow? Pin
Dave Kreskowiak25-Jan-06 16:11
mveDave Kreskowiak25-Jan-06 16:11 
GeneralRe: Graphics.DrawImage - why it's so slow? Pin
Libor Tinka26-Jan-06 2:05
Libor Tinka26-Jan-06 2:05 
GeneralRe: Graphics.DrawImage - why it's so slow? Pin
Dan Neely26-Jan-06 3:34
Dan Neely26-Jan-06 3:34 
Questionrunning out of PTEs Pin
Mark Hahn CA25-Jan-06 9:14
Mark Hahn CA25-Jan-06 9:14 
AnswerRe: running out of PTEs Pin
Dave Kreskowiak25-Jan-06 15:59
mveDave Kreskowiak25-Jan-06 15:59 
GeneralRe: running out of PTEs Pin
Mark Hahn CA26-Jan-06 8:05
Mark Hahn CA26-Jan-06 8:05 
I originally discovered what was causing my problem by doing a !vm in the kernel debugger. There was no problem with virtual memory except for an upper-case message: "YOU ARE OUT OF PTES".

I know that my handles are ok. Both the task manager and the openfiles command verify it.

In my original message I said I was creating hundreds of thousands of files. I was mistaken. I am actually creating millions of files, each about 256 kbytes. I structured the directories so that there are no more than 10,000 files per directory.

I also forgot to say that I am using interop from C# to do normal CreateFiles and WriteFiles from C. Also, I am doing the reads from a volume snapshot in xp sp2.

I did a test of running my code with the actual file-writing disabled and had no problem. All I can figure is that this is a bug in windows when you write too many files. I guess I will have to change my design to reduce the actual number of files written.
GeneralRe: running out of PTEs Pin
Dave Kreskowiak26-Jan-06 14:37
mveDave Kreskowiak26-Jan-06 14:37 
QuestionHow to get valid IPs from an IP Range? Pin
bigmacrox25-Jan-06 8:45
bigmacrox25-Jan-06 8:45 
AnswerRe: How to get valid IPs from an IP Range? Pin
tylerl25-Jan-06 9:05
tylerl25-Jan-06 9:05 
GeneralRe: How to get valid IPs from an IP Range? Pin
bigmacrox25-Jan-06 9:17
bigmacrox25-Jan-06 9:17 
GeneralRe: How to get valid IPs from an IP Range? Pin
Mike Dimmick25-Jan-06 10:42
Mike Dimmick25-Jan-06 10:42 
Questiontuples Pin
JoeSox25-Jan-06 7:17
JoeSox25-Jan-06 7:17 
AnswerRe: tuples Pin
User 665825-Jan-06 8:03
User 665825-Jan-06 8:03 
GeneralRe: tuples Pin
JoeSox25-Jan-06 8:10
JoeSox25-Jan-06 8:10 
GeneralRe: tuples Pin
User 665825-Jan-06 8:18
User 665825-Jan-06 8:18 
GeneralRe: tuples Pin
JoeSox25-Jan-06 8:28
JoeSox25-Jan-06 8:28 
AnswerRe: tuples Pin
Kevin McFarlane25-Jan-06 12:37
Kevin McFarlane25-Jan-06 12:37 
GeneralRe: tuples Pin
JoeSox25-Jan-06 12:53
JoeSox25-Jan-06 12:53 
GeneralRe: tuples Pin
Kevin McFarlane26-Jan-06 1:38
Kevin McFarlane26-Jan-06 1:38 
AnswerRe: tuples Pin
leppie25-Jan-06 23:30
leppie25-Jan-06 23:30 
QuestionRichtext Box question Pin
Beringer25-Jan-06 7:13
Beringer25-Jan-06 7:13 
AnswerRe: Richtext Box question Pin
James Gupta25-Jan-06 8:33
professionalJames Gupta25-Jan-06 8:33 
AnswerRe: Richtext Box question Pin
Allah On Acid25-Jan-06 9:05
Allah On Acid25-Jan-06 9: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.