Skip to main content

Questions tagged [memory]

Questions about RAM usage, including optimizing memory use, avoiding and fixing leaks and releasing unused memory.

2 votes
0 answers
52 views

I’m using ParallelMap on a very large dataset (millions of elements), but it quickly consumes all available RAM. For example: ...
internet's user avatar
  • 1,417
3 votes
1 answer
157 views

According to help So the question is, should not then the above command return similar value to what the operating system shows that Mathematica is using? In windows this will be using the task ...
Nasser's user avatar
  • 156k
2 votes
1 answer
130 views

I am using the code provided in the answer for this other question. It is shown below: ...
JYB's user avatar
  • 51
1 vote
2 answers
497 views

I am helping out with a light-matter interaction project and find myself stuck while attempting to obtain the elements of a density matrix. I am using the AtomicDensityMatrix package to generate the ...
Bihag Dave's user avatar
3 votes
0 answers
94 views

I acknowledge that Tabular is still experimental and an step in the right direction but I am surprised at how slow it is to extract a single row of data even with ...
IntroductionToProbability's user avatar
0 votes
0 answers
50 views

I have an 8 GB M1 Macbook. In a notebook, I make a function call (the function uses other functions defined in the notebook) and get the message: ...
PaulCommentary's user avatar
0 votes
0 answers
140 views

I am finding an analytical expression for a 27 x 27 matrix. The code of the intermediate elements is given below ...
Willian Natori's user avatar
3 votes
0 answers
193 views

Due to memory buildup issues, I need to re-start kernel, keeping/reloading one variable and continue calculation. Say, I have a variable tst={1,2,3} and I want to ...
Anton's user avatar
  • 2,072
12 votes
3 answers
2k views

Can anybody explain to me why the following code fails to execute due to insufficient memory error, and whether there is any way to overcome this problem? ...
Leszek's user avatar
  • 141
2 votes
1 answer
144 views

According to the official documentation, we have only OpenCLMemoryAllocate OpenCLMemoryLoad both of them return a new pointer ...
Kirill Vasin's user avatar
  • 1,769
0 votes
0 answers
85 views

Is the data generated by the Compress function in Mathematica unique? I’m considering using it to identify duplicates because it reduces memory usage significantly, ...
internet's user avatar
  • 1,417
0 votes
0 answers
63 views

I have quite a large expression that I need to integrate. My ansatz was to Expand the expression (easiest case results in ~5.5 million terms) and parallelize the ...
infinitezero's user avatar
  • 1,758
1 vote
1 answer
175 views

Since Mathematica seems not to have a function yielding the degree of a polynomial with respect to one variable, I wrote one: ...
florin's user avatar
  • 2,380
0 votes
0 answers
108 views

I am solving an optimal placement problem using MIQP (Mixed Integer Quadratic Program, using the QuadraticOptimization function WM version 14). The objective ...
Lavr's user avatar
  • 1
8 votes
1 answer
463 views

...
CasperYC's user avatar
  • 1,672

15 30 50 per page
1
2 3 4 5
31