Memory leak? when call WorkBook.toJson

Posted by: syasuhir on 3 July 2019, 2:14 pm EST

  • Posted 3 July 2019, 2:14 pm EST

    I think that when I call the ‘toJson’ method, memory is Leak.

    I’m developing a system that handles large tables (12000 rows, 80 columns).

    The version of SpreadJS used is 12.1.1.

    I call the following method, it seems that about 350M of memory will continue to be used and not released depending on the number of calls.

    Can someone tell me how to solve it?

    
        var serializationOption = {
            ignoreFormula: false,
            ignoreStyle: false,
            rowHeadersAsFrozenColumns: false,
            columnHeadersAsFrozenRows: true
        };
    
        // ToJson
        var data = spread.toJSON (serializationOption);    // 350MB used
        data = spread.toJSON (serializationOption);   // 350MB used
        data = spread.toJSON (serializationOption);   // 350MB used
        data = spread.toJSON (serializationOption);   // 350MB used
        data = spread.toJSON (serializationOption);   // 350MB used
    
    
  • Posted 3 July 2019, 9:52 pm EST

    Hi,

    We are able to replicate the issue at our end and hence we have forwarded it to the concerned team for further investigation of the issue(Internal tracking ID: SJS-783). We will let you know about any updates regarding the same.

    Regards

  • Posted 4 July 2019, 10:30 am EST

    As the system operation start date is approaching, I want you to respond promptly

  • Posted 4 July 2019, 6:14 pm EST

    Hi,

    We have asked the devTeam to look into this issue at the highest priority. We will notify you about any updates regarding the issue.

    Regards

  • Posted 16 July 2019, 1:26 pm EST

    sorry.

    Do you have any updates?

  • Posted 16 July 2019, 3:38 pm EST

    Hi,

    Dev Team is active working on this case and have made considerable progress, I have requested an ETA for this case. I will keep you updated.

  • Posted 16 July 2019, 4:49 pm EST

    Hi,

    The ETA for this case is v12.2.1 release around 1st week of August.

  • Posted 25 August 2019, 12:13 pm EST

    Hi.

    When can I download v12.2.1?

    Thx for your cooperation.

  • Posted 25 August 2019, 4:49 pm EST

    Hi,

    You may download the latest Spread build(12.2.2) from the following link:

    http://cdn.grapecity.com/spreadjs/12.2.2/Files/SpreadJS.Release.12.2.2.zip

    Regards

Need extra support?

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

Learn More

Forum Channels