ContentsIndexHome
PreviousUpNext
ISession::closeAllData Method

Flushes all buffers and closes and invalidates all open references to data, tuples, elements and iterators. As opposed to the close method, IProcedures and the ISession itself will remain in a valid state. This method allows a more fine grained control on the memory used by the SDK during a procedure run and the synchronization of the data afterwards. 

 

C++
virtual void closeAllData() = 0;

As opposed to the close method, the closeAllData method leaves the ISession itself and any opened IProcedure objects in a valid state; the SDK closes every IAimmsObject associated with data in the AIMMS model. This allows for a more fine grained control on the memory used by the SDK when running a procedure and the amount of data synchronized after running of the procedure completes.

See also Optimizing performance in the Using the SDK section.