Skip to main content

Questions tagged [resource-management]

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

Filter by
Sorted by
Tagged with
32 votes
5 answers

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
22 votes
1 answer

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,579
19 votes
3 answers

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,817
14 votes
1 answer

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
13 votes
1 answer

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
12 votes
4 answers

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.5k
11 votes
1 answer

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
9 votes
1 answer

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.5k
7 votes
1 answer

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
  • 415
7 votes
1 answer

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
6 votes
0 answers

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.7k
4 votes
2 answers

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
3 votes
1 answer

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
2 votes
1 answer

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
2 votes
0 answers

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
2 votes
0 answers

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,846
2 votes
0 answers

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
1 vote
1 answer

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.5k
0 votes
1 answer

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
0 votes
0 answers

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