def set_conserve_memory(self, conserve_memory=None, **kwargs):
        if conserve_memory is not None:
            self.conserve_memory = conserve_memory
        for name in KalmanFilter.memory_options:
            if name in kwargs:
                setattr(self, name, kwargs[name])
Set the memory conservation method
dataset/ETHPy150Open statsmodels/statsmodels/statsmodels/tsa/statespace/kalman_filter.py/KalmanFilter.set_conserve_memory