G
Guest
I have had users report a variety of performance problems with a RichTextBox that is included in my application. In an attempt to isolate the problem, I created the following test.
I created a Windows form containing a RichTextBox. I then took a 270KB JPEG image which I paste into the RichTextBox. However, I get varying results depending on how I copy this image:
- if I display the image in MS Paint, I can copy and paste the image safely
- if I display the image in PaintShop Pro, the image can be copied and pasted OK. However, when I close the form, the process consumes around 400MB of virtual memory before throwing an OutOfMemoryException.
I am running v1.1 of the framework, and I have the latest set of Windows Updates.
Can anyone shed any light on this?
Thanks
Mark
I created a Windows form containing a RichTextBox. I then took a 270KB JPEG image which I paste into the RichTextBox. However, I get varying results depending on how I copy this image:
- if I display the image in MS Paint, I can copy and paste the image safely
- if I display the image in PaintShop Pro, the image can be copied and pasted OK. However, when I close the form, the process consumes around 400MB of virtual memory before throwing an OutOfMemoryException.
I am running v1.1 of the framework, and I have the latest set of Windows Updates.
Can anyone shed any light on this?
Thanks
Mark