Mac users will take a different approach for setting these parameters.
Go to Open the BayesiaLab folder with in your Applications folder.
RightUpon double-click on BayesiaLab and select Show Package Contents.
Within the Contents folder that comes up, open Info.plist with a text editor such as TextEdit.
Scroll down to the bottom of the file and locate the string highlighted below:
Modify this string to reflect your desired configuration.
clicking on BayesiaLabMemory, you will then be prompted to enter your Admin password in order to edit the BayesiaLab.cfg file that contains the Memory parameters (Xms and Xmx).
The numerical value after "-Xms" stands for the Initial Memory allocation, the value after "-Xmx" is for the Maximum Memory allocation. Note that the suffix "M" stands for "Megabyte." The settings shown in this example are from a MacBook with 16GB of RAM, which allows this fairly large 8GB 12GB allocation for the Maximum Memory.
Save this file, without changing anything else, and BayesiaLab will launch the next time with these new parameters. You may need to experiment with these settings until you find a practical balance regarding allocation of resources.
Memory constraints can manifest themselves in a number of ways, but most often they occur when switching from the Modeling Mode to the Validation Mode, after having learned a fairly complex network. If this occurs frequently, you may want to adjust the Maximum Memory setting. However, please note that memory requirements can grow exponentially and can easily exceed any available memory by several orders of magnitude.