Tag Info

New answers tagged

7

Oleksandr remarked on the memory required for a dense matrix. I shall attempt to explore SparseArray limitations. From this error message it appears that the dimensions of the array must be machine integers: SparseArray[{}, {2, 2}^70] SparseArray::adims: Array dimension specification {1180591620717411303424,1180591620717411303424} should be ...


13

Adding up all your kind comments, we can conclude: An enabled Suggestion Bar (standard in Mathematica 10) triggers one WolframKernel process to consume all system memory (possibly up to approximately 4.37 TB, if available). This is a bug in Mathematica 10 (up to and including 10.0.2.0) on multiple operating system platforms. Wolfram has confirmed the ...


6

Part 1: It has to do with packed arrays. Packed arrays occupy around 1/3 to 1/4 the size of unpacked arrays, giving the results you see. You can verify this as follows: << Developer` PackedArrayQ[Table[Table[i*j, {i, 1, 10}], {j, 1, 10}]] PackedArrayQ[Table[i*j, {i, 1, 10}, {j, 1, 10}]] PackedArrayQ[Table[Table[i*j, {i, 1, 100}], {j, 1, 100}]] ...


2

I guess you need something like this: a = RandomReal[{0, 1}, {1000, 1000}]; b = RandomReal[{0, 1}, {10000, 10000}]; Column@Thread@{Names["Global`*"], ByteCount[#] & /@ ToExpression /@ Names["Global`*"]} {"a", 8000152} {"b", 800000152} It will show you all user-defined expressions and some of components of Global context created by default.


0

First, try the standard JVMArguments trick, and if that doesn't work, you should use streaming via SQLResultSetOpen[]. Here's an example of this more sophisticated technique, which should enable you to interface with very large sql tables. Example First you can do a reality check using the GUI tool DatabaseExplorer[], making sure you've got a good ...



Top 50 recent answers are included