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

ToySolver.SAT.Solver.CDCL: use timer thread to print statistics at mo… #95

Open
wants to merge 3 commits into
base: master
Choose a base branch
from

Conversation

msakai
Copy link
Owner

@msakai msakai commented Jan 22, 2023

…re regular intervals

@msakai
Copy link
Owner Author

msakai commented Apr 2, 2023

CI fails with Out of memory on windows-i386.

The message is printed at https://github.com/ghc/ghc/blob/31cd867e4d37072c3ce1d51efadc94e66ddc1c28/rts/win32/OSMem.c#L77 in allocNew function after the invocation VirtualAlloc(0,0x200000, MEM_RESERVE, PAGE_READWRITE) failed.

My hypothesis:

  1. A large number of threads are created for some reason https://gitlab.haskell.org/ghc/ghc/-/issues/23213
  2. The virtual memory reservation for stacks of those threads used up 2GB of virtual address space.
  3. Since they were only reserved and not committed, the apparent memory consumption was not big.

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

Successfully merging this pull request may close these issues.

1 participant