bm_book.getBook().gc(collectFormats- collectFormulas) - Actuate (Do we have something similar)

Hi Team,

We are trying to migrate from Actuate to Aspose and here we are facing the issue to find the alternative for the below actuate code.

bm_book.getBook().gc(collectFormats, collectFormulas)

Can you please let us know how can we do the same in Aspose.

Thanks,

AsposeEvaluation.

Hi,

Thanks for considering Aspose.Cells.

Aspose.Cells support most of Excel features which deals with xls/xlsx formats. If you let us know what this method does, then we could guide you with sample code or workaround.

You could explain to us with sample input and expected output files and you can created expected output files manually using MS-Excel.

It will help us look into your issue precisely and we will help you asap.

Hi Faiz,

We do have something like the below code.

Actuate Snippet:

book.getBook().gc(false,true);

Can you please tell what can be the workaround of the same.

Thanks,

AsposeEvaluation

Hi,

Thanks for your posting and considering Aspose.Cells.

It is not clear with the function name and its parameters that what it does. If you could provide us its description, then we may get a clue and let you know the sample code or workaround.

Hi,

Below you find the details on the Actuate API for Garbage Collection.

The following statement collects formatting and formula garbage:

boolean collectFormats = true;

boolean collectFormulas = true;

bm_book.getBook().gc(collectFormats, collectFormulas);

Please help to have a workaround for the same in Aspose.

Thanks,

AsposeEvaluation

Hi,

Thanks for considering Aspose.Cells.

This does not seem to be any Excel related feature but it looks like the internal mechanism or memory management model of Actuate. There is no need of such a function in Aspose.Cells because Aspose.Cells manages memory internally and user does not need to call any specific function like this to make Aspose.Cells to garbage collect some formats or formulas.