We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. Image for the cookie policy date
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

Speed, Memory usage of SaveBinary

Thread ID:





4302 May 7,2003 09:37 AM UTC May 7,2003 12:13 PM UTC WinForms 2
Tags: GridControl
Hong Chen
Asked On May 7, 2003 09:37 AM UTC

SaveBinary on a 100X100 grid with only backcolor assigned and font of bold, without any text takes 11 seconds (machine with CPU 2GHz, Memory 512MB), and generates a 2MB file. SaveBinary on a grid of 1000X1000 takes 10 minutes, generates 16MB of data. Not to mention SaveSoap. Saving an excel file of 100X100 with same settings takes a lot less. I wonder how can I improve this? Thanks

Administrator [Syncfusion]
Replied On May 7, 2003 12:09 PM UTC

We will have to look into this. It looks like we should not rely on plain .NET serialization to save the state but instead provide our own file format. We are actually working on a Xml based solution for the 2.0 version but that is not ready yet. I will let you know once I have more concrete results. Stefan

Administrator [Syncfusion]
Replied On May 7, 2003 12:13 PM UTC

One way you can reduce the amount of data that has to be written out is by creating a base style (in GridModel.BaseStylesMap) where you save the back color and font information and then assign this base style to cells. Stefan


This post will be permanently deleted. Are you sure you want to continue?

Sorry, An error occured while processing your request. Please try again later.

Please sign in to access our forum

This page will automatically be redirected to the sign-in page in 10 seconds.

Warning Icon You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.Close Icon

Live Chat Icon For mobile
Live Chat Icon