Tag Info

Accepted

Smooth Peter de Jong attractor

UPDATE I thought it would be neat to try and animate the thing, so I let the $a$ parameter run between $-\pi$ and $\pi$. I generated 600 images and put them together using ffmpeg. Check it out on ...
• 1,491

Smooth Peter de Jong attractor

As @RahulNarain says, forming the image point by point saves significant memory because the number of image pixels is typically much smaller than the hundreds of millions of iterations that compose it....
• 14.9k
Accepted

DeleteDuplicatesBy is not performing as I'd hoped. Am I missing something?

The behavior described here is the same from 10.0.0 up to at least 10.3. Summary We can look at the code of DeleteDuplicatesBy and it turns out it uses ...
• 11.9k
Accepted

Efficient lazy weak compositions

Chunks of weak compositions Here is slightly modified version of algorithm used in CombinatoricaNextComposition converted to a ...
• 14.7k
Accepted

• 10.5k
Accepted

How to force Mathematica to clean up the cache

This is also not an answer (I think you found the culprit and it needs to be solved by WRI) but a suggestion for a workaround. The idea is to run the memory leaking code in an extra kernel and restart ...
• 23.1k

Possible memory leak when importing JSON

tl;dr I think it's a memory leak (bug) and you should report it to Wolfram Support (please do!) According to my reading, you were saying that after importing JSON files many times, the kernel memory ...
• 225k

Memory leak in the system function: how to free memory without restarting the kernel?

Please report this to support. You can get rid of some of the memory leak by executing the following: ...
• 124k
Accepted

Efficient storage of large non-rectangular arrays

Special case Best way would be to not store this thing at all. It has so much structure that a[[i,j]] is cheaply computable on the fly. Integer and double ...
• 95.6k
Accepted

Rendering thousands of points

Yves showed you how to shave off a factor of 10, and in the following I'll shave off another factor of 10. First, the original code (plus some data of mine to make it work): ...
• 64.5k

On making a graphical real-time memory usage monitor

As a Palette 1) Using ListLinePlot: ...
• 27.1k

Rendering thousands of points

One way to save memory is to use the multi-primitive syntax for Point (which should also render quite a bit faster): ...
• 14.9k

What would you ask Mathematica to do on a big system?

I would choose a problem that exploits the unique power of Mathematica, in particular the natural functions involving graph theory, symbolic math, graphics, and the high compute power you have ...

What would you ask Mathematica to do on a big system?

4 TB memory? N-body of course; ...
• 1,146
Accepted

Is there any harm or benefit to Removing unneeded private symbols in packages?

As a more direct answer to the question of memory we can check with a test. ...
• 264k
Accepted

Is there a way to control V10's undo length?

NOTE: I forgot about this. Apparently, the following should (presumably) be the way to change these settings, but the actual feature has not been implemented yet. You can change this using ...
• 87k