SingularValueDecomposition causes kernel crash in 11.3
So I thought I could replicate this on Mac (I can't) but I can instead show a different front-end bug.
Consider this:
MaxMemoryUsed[]
38222504
SingularValueDecomposition@
RandomReal[{-2, 2}, {3600, 11}] // ByteCount
103998304
MaxMemoryUsed[]
141054992
This is fast.
But if I try to display the resultant matrix instead of just calling ByteCount
it takes ~1 min and suddenly I've use ~2 GB of memory:
MaxMemoryUsed[]
1994237832
Seems to work fine under 11.3 on Linux x64 with 64GB ....
test = Table[RandomReal[{-2, 2}], {3600}, {11}];
{u, s, v} = SingularValueDecomposition[test];
gets me
s =
{{72.0325,0.,0.,0.,0.,0.,0.,0.,0.,0.,0.},{0.,70.9864,0.,0.,0.,0.,0.,0.,0.,0.,0.},{0.,0.,70.4064,0.,0.,0.,0.,0.,0.,0.,0.}, \[CenterEllipsis]3595\[CenterEllipsis] ,{0.,0.,0.,0.,0.,0.,0.,0.,0.,0.,0.},{0.,0.,0.,0.,0.,0.,0.,0.,0.,0.,0.}}
with
Dimensions[#] & /@ {u, s, v}
as expected.
I contacted support and here is their response:
Thank you for contacting Wolfram Technical Support.
I was able to reproduce the issue, and consequently, I filed a report with our development team raising the issues and also included your contact information with them so you can be notified once the issue is resolved.