Message 1 of 2
Memory leak CefSharp
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
Hello,
We are trying to import thousands of Blocks inside AutoCAD 2023 using CefSharp.
If everything working well for one hundred of blocks, we are experiencing memory trouble for several hundreds of blocks:
System.AccessViolationException: 'Attempted to read or write protected memory. This often indicates that other memory is corrupt.
The user fire a event on click on a button inside a Web App in React.
The connection between the React web app and .Net AutoCAD API is performed with CefSharp.
The issue happened in:
private void OnBrowserJavascriptMessageReceived(object sender, JavascriptMessageReceivedEventArgs e)
Thank you for your help.