Group Docs Viewer SDK is not getting viewed in .net application and taking more memory

Hello Team,


I am using your GroupDocsViewer SDK, and trying to evaluate the SDK using Microsoft Document of Size 8MB , after execution of code its not getting displayed and its taking around 1GB of RAM for processing and the result is nothing.

Please foresee my sample .NET code here :

private void OfficeDocumentViewer_Load(object sender, EventArgs e)
{
office_viewer_title.ActiveForm.Text = “Office & PDF Document Viewer”;
this.WindowState = FormWindowState.Maximized;
user_control_for_view = new ViewerUserControl();

string license_path = System.Reflection.Assembly.GetExecutingAssembly().Location.ToString();

var directory = Path.GetDirectoryName(license_path);

Groupdocs.Web.UI.Viewer.SetLicensePath(directory + “\GroupDocs.Viewer.lic”);
user_control_for_view.ShowToolStrip(true);
user_control_for_view.ShowMainMenu(false);
user_control_for_view.SetPageImageQuality(10);
user_control_for_view.Dock = DockStyle.Right;
user_control_for_view.HorizontalScroll.Enabled = true ;
user_control_panel.Controls.Add(user_control_for_view);
user_control_for_view.Refresh();
}

Please let me know about this solution as earliest as possible.

Thank You.

Regards,
Alan
Hello,

Thank you for the request. To be able to reproduce and resolve the issue I will need an example of the document.

Also will be useful if you share more info about your project configuration and check the browser console for any failed requests and errors.

Thank you.