Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Out of memory error when running ch in WSL #3631

Closed
xiaoyinl opened this issue Sep 1, 2017 · 2 comments
Closed

Out of memory error when running ch in WSL #3631

xiaoyinl opened this issue Sep 1, 2017 · 2 comments

Comments

@xiaoyinl
Copy link
Contributor

xiaoyinl commented Sep 1, 2017

I was trying to build and run ChakraCore on Windows Subsystem for Linux. The code is from the master branch (2349c5f), built with ./build.sh --debug. It's built successfully, but when I run ./ch <any js file>, it immediately aborts with an error "Out of Memory". The call stack shows the problem is in function X64WriteBarrierCardTableManager::Initialize() in RecyclerWriteBarrierManager.cpp. At line 279, VirtualAlloc returns nullptr, causing the process to print "Out of Memory" and abort.

My OS is Windows 10 Pro x64 Build 15063. The Linux distribution is Ubuntu 16.04.3 LTS.

@jianchun
Copy link

jianchun commented Sep 1, 2017

This is microsoft/WSL#597

@xiaoyinl
Copy link
Contributor Author

xiaoyinl commented Sep 1, 2017

Thank you @jianchun! I will try the latest insider preview.

@xiaoyinl xiaoyinl closed this as completed Sep 1, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants