Memory usage - FlexReport

Posted by: thomas.hayashi on 16 January 2020, 6:14 am EST

    • Post Options:
    • Link

    Posted 16 January 2020, 6:14 am EST

    Hello,

    After reading the article below, I have a rough idea of the benefits in terms of performance/rendering between C1 and Flex.

    https://www.grapecity.com/blogs/net-reporting-faster-rendering-and-exporting-with-new-flexreport

    Question 1) In terms of memory usage, do you also have a article regarding this matter ? Is Flex using less, more or the same amount of memory compared to C1 ?

    Second, I’m aware that C1MultiDocument is no longer supported and because of that I’m also migrating that. However, I have the following line of code

    
    C1MultiDocument mltDocument = new C1MultiDocument();
    ...
    mltDocument.SetStorage(C1.C1Preview.StorageType.Disk);
    
    

    Question 2) I could not find an equivalent method of SetStorage() in Flex. Is there an similar method ?

    Question 2.1) Does that mean that everything is stored in memory ?

    Question 2.2) If there is not similar method, does that mean it’s no longer a point of attention ?

    Thanks

  • Posted 16 January 2020, 10:25 pm EST

    Hello,

    Answering in the order of the questions asked:

    1. Allow me to discuss the same with the concerned team. I shall get back to you on this, as soon as it is done.

    2. C1FlexReport does not have C1PrintDocument, C1MultiDocument and the related APIs. For using these, you are requested to continue using C1Report API. As we have C1FlexReport now as our flagship reporting tool in place of C1Report, C1Report is marked obsolete. But, there is no such equivalent of C1PrintDocument and C1MultiDocument because of which, these controls are not in legacy and can be used.

    Note: C1MultiDocument SetStorage method can have two types of StorageType values, as shown here:

    http://help.grapecity.com/componentone/NetHelp/c1report/webframe.html#C1.C1Report.4~C1.C1Preview.StorageType.html

    Its SetStorage method itself has two overloads:

    http://help.grapecity.com/componentone/NetHelp/c1report/webframe.html#C1.C1Report.4~C1.C1Preview.C1MultiDocument~SetStorage.html

    Regards,

    Esha

  • Posted 19 January 2020, 8:47 pm EST

    Hi Thomas,

    Question 1) In terms of memory usage, do you also have a article regarding this matter ? Is Flex using less, more or the same amount of memory compared to C1 ?

    I would like you to know that the memory consumption during rendering is better in FlexReport.

    ~Pragati

Need extra support?

Upgrade your support plan and get personal unlimited phone support with our customer engagement team

Learn More

Forum Channels