Take the 2-minute tour ×
Arqade is a question and answer site for passionate videogamers on all platforms. It's 100% free, no registration required.

This question already has an answer here:

How can I set my bukkit server on my mac to use more than 1 core? I set my server to use 12 gigs of RAM for now, considering that I will be adding more servers soon.

My iMac has these configurations:

  • 3.5GHz Quad-core Intel Core i7, Turbo Boost up to 3.9GHz
  • 32GB 1600MHz DDR3 SDRAM - 4X8GB
  • 1TB of PCIe-Based Flash Storage
  • NVIDIA GeForce GTX 780M 4GB GDDR5

It uses mavericks.

Also, is it possible to use the graphics card for the server (considering that the RAM on it is MUCH faster than the standard 1600MHz RAM) when the card is not in use?

Thanks so much guys!

share|improve this question

marked as duplicate by Memor-X, Trent Hawkins, Ben, Private Pansy, galacticninja Sep 9 at 3:09

This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.

    
I use Java JDK if that helps. –  Alex Mar 4 at 0:30
    
Although you are using a mac, the question linked above will still apply to you. You just need to edit your startup script. –  aman207 Mar 4 at 0:39
    
It seems like there are two questions built into this, but other than that, this question seems pretty good. –  Shadow Z. Mar 4 at 1:07
    
How would I edit the script? –  Alex Mar 4 at 1:18
    
Any idea guys on how to do this? –  Alex Mar 4 at 13:33

1 Answer 1

This is a duplicate of How can I run a Minecraft Server on multiple CPU cores?, but here's some JVM flags you need:

-server -XX:+UseConcMarkSweepGC -XX:+UseParNewGC -XX:+CMSIncrementalPacing -XX:ParallelGCThreads=7 -XX:+AggressiveOpts

(from http://gaming.stackexchange.com/a/105638/51845)

share|improve this answer

Not the answer you're looking for? Browse other questions tagged or ask your own question.