← Problems

Diagonal sums of tall Gram matrices exhaust memory

Summing each diagonal of a huge X times X transpose matrix runs out of memory because the full matrix is built.

Tier II · Emerging Problems that are still building up.

12 public reports · first reported 5 October 2026 · last reported 7 October 2026

Idea report · $9 · No contacts · All sales final

See a sample idea report

What's going wrong

Users of Julia's discussion forum report that computing the diagonal sums of a very large X times X transpose product fails with out-of-memory errors, because the full matrix is materialized before the sums are taken.

AI-assisted: written with the help of AI from the reports. The idea report has the full summary.

In the idea report

  • The full summary.
  • The products the 12 reports are about, and how many came each month.
  • Related problems.

No business has been found with this problem yet, so the report has no contacts. All sales are final — no refunds. Pricing.