Y
yotaxp
Hello, all.
This line has been pestering me, and I can't seem to figure out why the
problem is occuring. I'm trying to paint a GraphicsPath onto a Bitmap,
using the Graphics class, but it always seems to crash, and throw the
"Out of Memory" exception when it comes to the point I need the create
the object. I've been fairly strict with IDisposable.Dispose(), and
the 'using' as well. It always seems to be at this exact line, when
the exception is thrown, no matter how much memory I seem to have. I
have no recursive procedures, and this isn't at all deep within the
call stack (6 in, according to the debugger). The bitmap is pretty
large, at 6400x4800x16, but the same problem exists at 800x600x16.
This line has been pestering me, and I can't seem to figure out why the
problem is occuring. I'm trying to paint a GraphicsPath onto a Bitmap,
using the Graphics class, but it always seems to crash, and throw the
"Out of Memory" exception when it comes to the point I need the create
the object. I've been fairly strict with IDisposable.Dispose(), and
the 'using' as well. It always seems to be at this exact line, when
the exception is thrown, no matter how much memory I seem to have. I
have no recursive procedures, and this isn't at all deep within the
call stack (6 in, according to the debugger). The bitmap is pretty
large, at 6400x4800x16, but the same problem exists at 800x600x16.