Git Product home page Git Product logo

Comments (4)

ivmai avatar ivmai commented on September 18, 2024

I can't reproduce it on master (Linux, 64-bit).

GC_INITIAL_HEAP_SIZE=100G GC_PRINT_STATS=1 ./gctest
Supported VDBs: manual soft mprotect
Using soft-dirty bit feature
In-use heap: 0% (0 KiB pointers + 0 KiB other)
Grow heap to 104857600 KiB after 0 bytes allocated

from bdwgc.

UltimatePea avatar UltimatePea commented on September 18, 2024
GC_INITIAL_HEAP_SIZE=100G ./gctest
Supported VDBs: manual soft mprotect
GC Warning: Bad maximum heap size 68719476736 - ignoring
Switched to incremental mode
Emulating dirty bits with mprotect/signals
Completed 6 tests
Allocated 11792895 collectable objects
Allocated 1224 uncollectable objects
Allocated 720438 atomic objects
Reallocated 36 objects
Garbage collection after fork is tested too
Finalized 13393/13393 objects - finalization is probably OK
Total number of bytes allocated is 1154623152
Total memory use by allocated blocks is 3457024 bytes
Final heap size is 659456 bytes
Unexpected heap growth - collector may be broken (heapsize: 107382521856, expected: 159383552)
Test failed
fish: Job 1, 'GC_INITIAL_HEAP_SIZE=100G ./gct…' terminated by signal SIGABRT (Abort)

Strange. I am suspecting that this may be related to WSL2. I am trying a genuine linux installation.

from bdwgc.

ivmai avatar ivmai commented on September 18, 2024

I think the root cause of this is that GC_MAXIMUM_HEAP_SIZE environment variable is defined somewhere else to a value which is smaller than GC_INITIAL_HEAP_SIZE, thus you are getting a warning that the initial size value is greater than the maximum one.

from bdwgc.

ivmai avatar ivmai commented on September 18, 2024

"Can't start up: not enough memory" means libgc can't allocate the amount of memory given in GC_INITIAL_HEAP_SIZE.

from bdwgc.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.