Addlbfgs

For low dim this gives too small memory. What about using a fixed number like 10 or 15 or max(10, sqrt(dim))?