Message Boards Message Boards

0
|
5141 Views
|
2 Replies
|
1 Total Likes
View groups...
Share
Share this post:

Reduce RAM and CPU usage for Mathematica?

Posted 3 years ago

Is there an easy method to permanently reduce the CPU and RAM consumption of Mathematica 11.3? I would like a 'setting' that is enabled by default. I am not that sophisticated in programing and I find it tough to write that piece of code to reduce RAM usage. But I do not want a compromise in Mathematica's features. Thanks in advance!

POSTED BY: Code Red
2 Replies

Reducing $HistoryLength may help. Especially for large notebooks implementing memory hungry computations. I think that by default its value is infinity and all input and output is stored in memory.

POSTED BY: Ian Williams
Posted 3 years ago

Code Red:

For RAM, check out https://mathematica.stackexchange.com/questions/194878/limit-the-amount-of-ram-mathematica-may-access.

If you want to make it permanent, you can put the solution in your kernel/init.m.

To limit CPU cores (might not be exactly what you are looking for), check out: https://support.wolfram.com/27877?src=mathematica

POSTED BY: Mike Besso
Reply to this discussion
Community posts can be styled and formatted using the Markdown syntax.
Reply Preview
Attachments
Remove
or Discard

Group Abstract Group Abstract