{"id":6420,"date":"2021-04-02T09:21:21","date_gmt":"2021-04-02T09:21:21","guid":{"rendered":"https:\/\/buildsoftsupport.com\/?post_type=ht_kb&#038;p=6420"},"modified":"2025-04-08T08:10:14","modified_gmt":"2025-04-08T08:10:14","slug":"how-to-limit-cpu-usage-by-buildsoftserver-exe","status":"publish","type":"ht_kb","link":"https:\/\/support.buildsoft.eu\/es\/knowledge-base\/how-to-limit-cpu-usage-by-buildsoftserver-exe\/","title":{"rendered":"How to limit CPU usage by BuildSoftServer.exe"},"content":{"rendered":"\n[in Diamonds 2021r01 or newer]\n\n\n<ul>\n<li>Close all Diamonds projects (if not yet the case).<\/li>\n<li>Start Diamonds and close it again.<\/li>\n<li>Go to\u00a0<strong>My Documents &gt; Diamonds &gt; {latest version}.<br \/><i><\/i><\/strong>Open the file\u00a0<strong>Diamonds.ini<\/strong> with Notepad by double clicking it.<br \/><img decoding=\"async\" loading=\"lazy\" class=\"alignnone size-full wp-image-15109\" src=\"https:\/\/support.buildsoft.eu\/wp-content\/uploads\/2021\/04\/DefineCPU.png\" alt=\"\" width=\"1383\" height=\"551\" \/><\/li>\n<li>Look for\u00a0<strong>[TMainForm_PREF]\u00a0<\/strong>(You can use the keyboard shortcut\u00a0<kbd>CTRL<\/kbd>\u00a0+\u00a0<kbd>F<\/kbd>\u00a0to start the find function)<br \/>If you cannot find <strong>[TMainForm_PREF]<\/strong>, go to the bottom of the file and add the text <strong>[TMainForm_PREF].<\/strong><\/li>\n<li>Below <strong>[TMainForm_PREF], a<\/strong>dd a line with <strong><strong>CPU=<em>*number of logical processor*<\/em><br \/><\/strong><\/strong>The <em>*number of logical processor*<\/em> is the binairy sum of the processors you&#8217;d like to use.<br \/>Each bit represents a processor:<br \/>1 =\u00a0processor 1<br \/>2\u00a0=\u00a0processor\u00a02<br \/>4\u00a0=\u00a0processor 3<br \/>8\u00a0=\u00a0processor\u00a04<br \/>16 =\u00a0processor 5<br \/>32 = processor 6<br \/>And so on<br \/>For example: if you only want to use processors 2, 3 and 4, the <em>*number of local processor*<\/em> is <strong>14, because 14 is the sum of 2, 4 and 8.<br \/><\/strong>So in Diamonds.ini you need to see\n<p>\u00a0<\/p>\n<pre><strong>[TMainForm_PREF]\n<\/strong>CPU = 14<\/pre>\n<p>How high you can set the<em>\u00a0number of logical processor\u00a0<\/em>depends on how many you have (Control Panel &gt; Device Manager &gt; Processors)<\/p>\n<\/li>\n<li>Save the Diamonds.ini.<\/li>\n<li>Start Diamonds again.<\/li>\n<\/ul>","protected":false},"excerpt":{"rendered":"<p>[in Diamonds 2021r01 or newer] Close all Diamonds projects (if not yet the case). Start Diamonds and close it again. Go to\u00a0My Documents &gt; Diamonds &gt; {latest version}.Open the file\u00a0Diamonds.ini with Notepad by double clicking it. Look for\u00a0[TMainForm_PREF]\u00a0(You can use the keyboard shortcut\u00a0CTRL\u00a0+\u00a0F\u00a0to start the find function)If you cannot find&#8230;<\/p>\n","protected":false},"author":3,"comment_status":"closed","ping_status":"closed","template":"","format":"standard","meta":[],"ht-kb-category":[62],"ht-kb-tag":[675],"_links":{"self":[{"href":"https:\/\/support.buildsoft.eu\/es\/wp-json\/wp\/v2\/ht-kb\/6420"}],"collection":[{"href":"https:\/\/support.buildsoft.eu\/es\/wp-json\/wp\/v2\/ht-kb"}],"about":[{"href":"https:\/\/support.buildsoft.eu\/es\/wp-json\/wp\/v2\/types\/ht_kb"}],"author":[{"embeddable":true,"href":"https:\/\/support.buildsoft.eu\/es\/wp-json\/wp\/v2\/users\/3"}],"replies":[{"embeddable":true,"href":"https:\/\/support.buildsoft.eu\/es\/wp-json\/wp\/v2\/comments?post=6420"}],"version-history":[{"count":3,"href":"https:\/\/support.buildsoft.eu\/es\/wp-json\/wp\/v2\/ht-kb\/6420\/revisions"}],"predecessor-version":[{"id":15110,"href":"https:\/\/support.buildsoft.eu\/es\/wp-json\/wp\/v2\/ht-kb\/6420\/revisions\/15110"}],"wp:attachment":[{"href":"https:\/\/support.buildsoft.eu\/es\/wp-json\/wp\/v2\/media?parent=6420"}],"wp:term":[{"taxonomy":"ht_kb_category","embeddable":true,"href":"https:\/\/support.buildsoft.eu\/es\/wp-json\/wp\/v2\/ht-kb-category?post=6420"},{"taxonomy":"ht_kb_tag","embeddable":true,"href":"https:\/\/support.buildsoft.eu\/es\/wp-json\/wp\/v2\/ht-kb-tag?post=6420"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}