There are two ways to use the hard disk for additional memory in Gurobi.
One is the general purpose swap space supported by the operating system. This you need to
enable in your operating system, it has nothing to do with Gurobi.
The other one is for storing nodes of a MIP search tree to disk. If your memory issue
comes from very large trees, then this can be useful. Because Gurobi knows which of the
nodes should be stored to disk and which should be kept in memory, and how to organize
best the nodes in the node files, this is much more efficient than the general purpose
swap space of the operating system. But as I said, this is only applicable for large
search trees. You activate this feature using the "NodefileStart" parameter, see
http://www.gurobi.com/documentation/8.0/refman/nodefilestart.html#parameter:NodefileStart
Best regards,
Tobias