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