# Out of memory compiling cling on WSL2

**URL:** <https://root-forum.cern.ch/t/out-of-memory-compiling-cling-on-wsl2/55983>\
**Category:** Cling\
**Tags:** build\
**Created:** [August 9, 2023, 12:17pm UTC](https://root-forum.cern.ch/t/out-of-memory-compiling-cling-on-wsl2/55983 "2023-08-09T12:17:39Z")\
**Posts on this page:** 1\
**Showing post:** 4

<div class="post-metadata">

**Author:** ![eguiraud](https://root-forum.cern.ch/user_avatar/root-forum.cern.ch/eguiraud/32/32217_2.png) [@eguiraud](https://root-forum.cern.ch/u/eguiraud)\
**Post date:** [August 9, 2023, 4:27pm UTC](https://root-forum.cern.ch/t/out-of-memory-compiling-cling-on-wsl2/55983/4 "2023-08-09T16:27:24Z")

</div>

Some instructions for ROOT on WSL2 can be found at [Complete ROOT Installation Instructions for WSL (Ubuntu 18.04 on Windows 10)](https://root-forum.cern.ch/t/complete-root-installation-instructions-for-wsl-ubuntu-18-04-on-windows-10/35148) (and other posts linked from there).  
As Bertrand mentions you should not need to compile ROOT from source.

---

_[View the full topic](https://root-forum.cern.ch/t/out-of-memory-compiling-cling-on-wsl2/55983)._
