Questions tagged [resource-management]

Questions about resource management, including minimizing use of RAM and processing power.

Filter by
Sorted by
Tagged with
2 votes
0 answers
42 views

How can I cap calculation speed?

Sorry if I wasn't able to find an existing answer! I'm trying out Mathematica, and was running through some sample problems at night. My roommate is sleeping, and my computer fan can get decently loud....
L Lord's user avatar
  • 21
14 votes
1 answer
458 views

Memory leak with Mathematica Graph functions

I am running Mathematica 13.2 on a Mac OS Monterey. I have a large code that manipulates graphs both in graph form and as adjacency matrices, computes some graph properties, and returns a list. It has ...
Kassa's user avatar
  • 143
6 votes
1 answer
510 views

Optimal parallelization on Apple Silicon

I have the 2021 13 inch Macbook Pro with the M1 Pro chip (with $ProcessorCount equal to 10), currently running Mathematica 13.0.0. I have had a good experience with serial computations on this chip, ...
Void's user avatar
  • 405
4 votes
2 answers
267 views

Plotting "on the fly" possible?

ListPlot needs a list (duh). Assume that you have a problem where time is not the issue, but space, e.g. compute and plot the first billion values of Fibonacci[n]/...
Hauke Reddmann's user avatar
12 votes
4 answers
545 views

Find and load all ResourceFunctions as top level functions?

I would like to be able to use ResourceFunction's as top-level symbols: The reason being that some of them are so useful it would be really great not to have to ...
M.R.'s user avatar
  • 31.4k
2 votes
0 answers
68 views

How to build a file download manager? [duplicate]

I want to build something like ResourceData to distributing neural network models and paclets. This system preferably has the following three features. It's lazy. ...
Aster's user avatar
  • 3,836
1 vote
1 answer
57 views

List of all image based ResourceObjects?

Is there some way to search across content types in ResourceObjects? Something like this would be nice: ResourceSearch[<|"ContentTypes" -> "Image"|>]
M.R.'s user avatar
  • 31.4k
2 votes
0 answers
114 views

Removing ResourceObject and other resources downloaded from Wolfram servers/

What happens with recourses downloaded from Wolfram Servers? I have recently been playing with their neural net library, until I noticed that each model is takes up a lot of space. How do delete ...
Karolis's user avatar
  • 1,639
6 votes
0 answers
162 views

Why does Mathematica 11.1 use so much memory on my system

On my Mac OS X 10.10.5 system, here are the results of calling MemoryInUse[] immediately after startup (fresh front end, fresh kernel) on various versions of ...
QuantumDot's user avatar
  • 19.6k
9 votes
1 answer
251 views

Adding computer vision datasets?

I find having ResourceData/Objects for machine learning datasets to be extremely useful, with their "TrainingData", "TestData" properties: Right now there's only a handful: And even fewer for ...
M.R.'s user avatar
  • 31.4k
2 votes
1 answer
61 views

GaussianFilter Slow Behaviour when std. Deviation in set to 0

The problem occurs when setting the $\sigma$ of the GaussianFilter to zero and using the method Method -> "Gaussian". The ...
Frank Martin's user avatar
  • 1,145
0 votes
0 answers
50 views

Inspecting the evaluation stack on computation abort [duplicate]

It happens often that a computation starts consuming more memory or time when it encounters an expression with elements in the input that are in some unexpected form. Is there some way to abort ...
lurscher's user avatar
  • 743
0 votes
1 answer
141 views

Invoking functions in other kernels

Suppose one wants to parallelize as much as possible N tasks, each task produces a graphics via ParametricPlot or something like that. If the system is allowed to ...
lurscher's user avatar
  • 743
19 votes
3 answers
751 views

How to keep downloaded curated data

If I run StarData[], Mathematica will download the entire database from its server, which is quite a lot of data and takes some time: "Downloading entities 17501 ...
shrx's user avatar
  • 7,807
10 votes
1 answer
1k views

Mathematica AppData folder is taking up too much space

I recently made a small app that I had issues with. I'm pretty sure it ended up being because of all the curated data to load. My problem now is that under the Windows 8.1 folder Users/Username/...
Sultan of Swing's user avatar
7 votes
1 answer
913 views

Using cursors with result sets to reduce memory usage

I have a database table with 900,000 rows and 80 columns per row which I'd like to work with in mathematica. My computations are isolated to each row, so I'd like to stream only a single row (or small ...
user avatar
3 votes
1 answer
772 views

Command to get License Management Monitor info

Using Netlink, when we have more users than Mathematica licenses (used in a pool), we get messages such as: Error code: 11. Connected MathLink program has closed the link, but there might still be ...
WolframFan's user avatar
  • 1,412
13 votes
1 answer
700 views

Mathematica Source-Code Control for CDF files in multi-user scenario

Q: I'm putting together a strategy on how its best to maintain cdf documents with multiple users in a source code repository. Ideally I wish for users to create (unit tested) cdf's with data and ...
WolframFan's user avatar
  • 1,412
22 votes
1 answer
2k views

Kernel Management

I would like to run a computation in one NoteBook that will take 2 hours. Could I assign this Notebook a specific Kernel so I can run computation in other Notebooks ?
500's user avatar
  • 5,549
32 votes
5 answers
2k views

Resource management in Mathematica

I am using a library that has functions like createSomeObject[] and deleteSomeObject[obj]. It is an interface to a C language ...
Szabolcs's user avatar
  • 235k