GurobiSolver object instead of the env as follows:env = Gurobi.Env()
model = Model(solver = GurobiSolver(env, TimeLimit=10))
x-ref: https://discourse.julialang.org/t/is-the-code-correct-to-set-parameters-in-gurobi/14226/3using JuMP, Gurobi
env = Gurobi.Env()
m = Model(solver=GurobiSolver(env, NodefileStart=0.1))
#after the error message comes out, I reset the solver and env but still no effect#
Besides, I found out below from Gurobi website (http://www.gurobi.com/support/faqs/index.php?id=4294958). Does below apply to my case? If so, what else can I do to continue solving the problem?
32. What can be done to avoid an out-of-memory condition?
3. For a MIP that requires a large number of nodes, use node files, which are specially designed for optimization; they are more efficient than general-purpose virtual memory from the operating system. To use node files, set the NodefileStart parameter to a value like 0.5. Note that NodefileStart has no effect for continuous models or for MIP models that solve at or near the root node.
Thank you very much.
Best Regards,
Summer