Questions tagged [resource-management]
Questions about resource management, including minimizing use of RAM and processing power.
20
questions
2
votes
0
answers
37
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....
14
votes
1
answer
452
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 ...
6
votes
1
answer
417
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, ...
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]/...
12
votes
4
answers
528
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 ...
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.
...
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"|>]
2
votes
0
answers
112
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 ...
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 ...
9
votes
1
answer
246
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 ...
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 ...
0
votes
0
answers
49
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 ...
0
votes
1
answer
140
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 ...
19
votes
3
answers
741
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 ...
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/...
7
votes
1
answer
876
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 ...
3
votes
1
answer
758
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 ...
13
votes
1
answer
698
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 ...
21
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 ?
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 ...