NRichtTextView Exceptions


Author
Message
Rob Panosh
Rob Panosh
Forum Newbie (0 reputation)Forum Newbie (0 reputation)Forum Newbie (0 reputation)Forum Newbie (0 reputation)Forum Newbie (0 reputation)Forum Newbie (0 reputation)Forum Newbie (0 reputation)Forum Newbie (0 reputation)Forum Newbie (0 reputation)
Group: Forum Members
Posts: 14, Visits: 31
Here are the versions we are using.

https://www.nevron.com/forum/uploads/images/59c40fda-cd99-4c7b-ae97-cd92.jpg

Is this the latest?

Rob


Nevron Support
Nevron Support
Supreme Being (4.5K reputation)Supreme Being (4.5K reputation)Supreme Being (4.5K reputation)Supreme Being (4.5K reputation)Supreme Being (4.5K reputation)Supreme Being (4.5K reputation)Supreme Being (4.5K reputation)Supreme Being (4.5K reputation)Supreme Being (4.5K reputation)
Group: Administrators
Posts: 3.1K, Visits: 4.2K
Hi Rob,
What is the version you're currently using? There was indeed a memory leak related to the ribbon buttons icons that were holding a back reference to the control however that was fixed this year. Can you try to test with the latest release on whether the problem persists?


Best Regards,
Nevron Support Team


Rob Panosh
Rob Panosh
Forum Newbie (0 reputation)Forum Newbie (0 reputation)Forum Newbie (0 reputation)Forum Newbie (0 reputation)Forum Newbie (0 reputation)Forum Newbie (0 reputation)Forum Newbie (0 reputation)Forum Newbie (0 reputation)Forum Newbie (0 reputation)
Group: Forum Members
Posts: 14, Visits: 31
Hi, 
Thanks for the quick response.  I have been profiling our application using ants.  I noticed that I'm losing about 8 meg of memory every time I open/close your form with your control on it and I am explicitly calling dispose()..
Nevron.Nov.Internal is growing by 2 for each control instance.  See attached instance retention graph (png file).  Is there anything else I need to do to dispose/release the control?  Our form the control is on is getting released.
Thanks,
Rob



Attachments
graph.png (554 views, 104.00 KB)
Nevron Support
Nevron Support
Supreme Being (4.5K reputation)Supreme Being (4.5K reputation)Supreme Being (4.5K reputation)Supreme Being (4.5K reputation)Supreme Being (4.5K reputation)Supreme Being (4.5K reputation)Supreme Being (4.5K reputation)Supreme Being (4.5K reputation)Supreme Being (4.5K reputation)
Group: Administrators
Posts: 3.1K, Visits: 4.2K
Hi Rob,

Both exceptions are handled and will not cause problems for the normal operation of the control.

1. The first exception is caused by an attempt of the control to write a timestamp in the registry - we'll remove this attempt in the next release so it will not appear anymore.

2. The second type of exception is caused by the internal OpenType glyph grid fitting program interpreter. It simply executes an invalid glyph program and generates an index out of range exception. We've deliberately left indexing unchecked for performance reasons as the .NET runtime will check the indexing anyway, but will consider adding an option to have bounds checked indexing in the interpreter to avoid exceptions.

Please let us know if you have any questions or comments.

Best Regards,
Nevron Support Team


Rob Panosh
Rob Panosh
Forum Newbie (0 reputation)Forum Newbie (0 reputation)Forum Newbie (0 reputation)Forum Newbie (0 reputation)Forum Newbie (0 reputation)Forum Newbie (0 reputation)Forum Newbie (0 reputation)Forum Newbie (0 reputation)Forum Newbie (0 reputation)
Group: Forum Members
Posts: 14, Visits: 31
Hi,

When the NRichTextView is intiallially loaded I am getting a registry UnauthorizedAccessException. 

Then a bunch of System.IndexOutOfRangeException exceptions.  These exceptions slow down the opening of the control (first load) by about eight seconds.
See attached document for list of exceptions and glyph errors.  
Please advise ..
Thanks,
Rob

Attachments
IntitialLoadExceptions.txt (579 views, 23.00 KB)
GO

Merge Selected

Merge into selected topic...



Merge into merge target...



Merge into a specific topic ID...




Similar Topics

Reading This Topic

Login

Explore
Messages
Mentions
Search