Skip to content

Couldn't allocate initial old space -- not enough swap space? #159

@jrc

Description

@jrc

I'm trying to run Self 2024.1 in a freshly created ubuntu-20.04.6-desktop-amd64 virtual machine, on my Mac using UTM https://getutm.app/ (QEMU-based). After installing the various dependencies, I got Self to build, but when I run it, it crashes:

~/self/objects$ ../vm/Self 
Self VM fatal error (/home/john/self/vm/src/any/memory/generation.cpp, line 307): Couldn't allocate initial old space -- not enough swap space?

VM Version: 2023.1.13, Wed 23 Oct 24 17:20:42 Linux i386 (2024.1)

Self process 1329 on john-Standard-PC-Q35-ICH9-2009 has crashed.
Do you want to:
   1) Quit Self (optionally attempting to write a snapshot)
   2) Try to print the Self stack
   3) Try to return to the Self prompt
   4) Force a core dump
   5) Print the interrupted context registers
Your choice: 1
Enter snapshot name (hit return to omit snapshot) > 
No snapshot specified, will skip this step
~/self/objects$ free -h
              total        used        free      shared  buff/cache   available
Mem:          7,7Gi       640Mi       6,6Gi        14Mi       579Mi       6,9Gi
Swap:         2,0Gi          0B       2,0Gi
~/self/objects$ 

Not sure how to go about getting past this. As far as I can tell, there's plenty of memory and swap space.

Metadata

Metadata

Assignees

No one assigned

    Labels

    BugBugs (in objects or VM)VMIssues relating to the VM

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions