Completed
Last Updated: 31 Oct 2018 08:06 by ADMIN
ADMIN
Boby
Created on: 29 Sep 2016 11:14
Category: RichTextBox
Type: Bug Report
1
RichTextBox: OutOfMemoryException when loading document containing large images
When documents containing images (e.g. few JPEGs with size of 5 MB) are loaded, the memory usage of the process goes up pretty quickly and eventually OutOfMemoryException is thrown.

This is not conventional memory leak, as managed types are not leaking. After some investigation, we believe that GC cannot collect some MemoryStream objects (used for the conversion of the image from Base64 to PNG) from the Large Object Heap fast enough, or LOH becomes fragmented.



Available in LIB version: 2017.1.213
0 comments