Out-of-memory errors using Ipopt to solve very large-scale trajectory optimization problems

The log looks okay. I had wondered if it was a sparsity issue, but that doesn’t seem to be the case.

It’s hard to say more without a reproducible example.

It sounds like you’ve already written the callback functions, so you could try using the C API of Ipopt directly: GitHub - jump-dev/Ipopt.jl: Julia interface to the Ipopt nonlinear solver.

Alternatively, you could write the problem algebraically using JuMP and let us compute derivatives.