Skip to content

Commit 9de8c5b

Browse files
author
Release Manager
committed
gh-35637: remark that WSL needs a lot of RAM We had reports to this end on sage-develop - typically people are not able to build scipy with only 2GB of RAM in WSL (but 5 is enough). URL: #35637 Reported by: Dima Pasechnik Reviewer(s): Tobias Diez
2 parents f2f5863 + 406e611 commit 9de8c5b

File tree

2 files changed

+8
-2
lines changed

2 files changed

+8
-2
lines changed

README.md

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -58,9 +58,11 @@ mailing list](https://groups.google.com/group/sage-devel).
5858
--------------------------------
5959

6060
The preferred way to run Sage on Windows is using the [Windows Subsystem for
61-
Linux](https://docs.microsoft.com/en-us/windows/wsl/faq), which allows
61+
Linux](https://docs.microsoft.com/en-us/windows/wsl/faq), a.k.a. WSL, which allows
6262
you to install a standard Linux distribution such as Ubuntu within
63-
your Windows. Then all instructions for installation in Linux apply.
63+
your Windows. Make sure you allocate WSL sufficient RAM; 5GB is known to work, while
64+
2GB might be not enough for building Sage from source.
65+
Then all instructions for installation in Linux apply.
6466

6567
As an alternative, you can also run Linux on Windows using Docker (see
6668
above) or other virtualization solutions.

src/doc/en/installation/index.rst

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -62,6 +62,8 @@ Windows
6262
`official WSL setup guide
6363
<https://docs.microsoft.com/en-us/windows/wsl/install-win10>`_. Be
6464
sure to do the steps to install WSL2 and set it as default.
65+
Make sure to allocate enough RAM to WSL: 5GB is known to be enough,
66+
2GB might not allow you to build some packages.
6567
Then go to the Microsoft Store and install Ubuntu (or another
6668
Linux distribution). Start Ubuntu from the start menu.
6769

@@ -73,6 +75,8 @@ Windows
7375
`official WSL setup guide
7476
<https://docs.microsoft.com/en-us/windows/wsl/install-win10>`_. Be
7577
sure to do the steps to install WSL2 and set it as default.
78+
Make sure to allocate enough RAM to WSL: 5GB is known to be enough,
79+
2GB might not allow you to build some packages.
7680
Then go to the Microsoft Store and install Ubuntu (or another
7781
Linux distribution). Start Ubuntu from the start menu.
7882

0 commit comments

Comments
 (0)