I'm trying to use DistanceMatrix on GeoPositions. Doing this on large arrays causes the kernel to crash.

Here's an example, that causes the kernel to crash in about 15 seconds (version 11.2).

largearray[[All,1]]=0.5*largearray[[All,1]]; (*random Lat-Long locations*)

I can get it to succeed with 10,000 locations, but 100,000 causes an almost immediate crash.

It appears to be a memory problem. If I run it with the following code, it aborts.

I have 12GB of memory on that CPU, so I have quite a bit to work with. I'm surprised that it fails, its not that much data... Is there a workaround?

Thanks, Jud

  • $\begingroup$ Same behavior with M11, 32 GB, but works fast on M8 $\endgroup$ – Bill Watts Jan 9 '18 at 22:40
  • $\begingroup$ Have you reported it to WRI Support? $\endgroup$ – Kuba Nov 14 '18 at 9:02

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.