The Maxwell online help provides a lot of guidance regarding setting up Maxwell for a HPC solution, and also optimizing the memory settings.
Take a look at these sections:
- Maxwell Help > Specifying Solution Settings > Changing Memory Settings
- Maxwell Help > Running Simulations > Distributed Analysis
- Maxwell Help > Working with Maxwell Projects and Designs > Setting Options in Maxwell > Setting HPC and Analysis Options