Skip to content

Instantly share code, notes, and snippets.

@Quodss
Last active November 8, 2023 17:55
Show Gist options
  • Save Quodss/770a51a787d8690e51a03af134a88221 to your computer and use it in GitHub Desktop.
Save Quodss/770a51a787d8690e51a03af134a88221 to your computer and use it in GitHub Desktop.

-mass test

Below are instructions to run -mass from this project:

  1. Clone my versions of vere and urbit repos (mind the branches, modernize-mass and mass-thread respectively)
  2. Build vere binary
  3. Boot a fakezod:
./vere/bazel-bin/pkg/vere/urbit -F zod -B urbit/bin/brass.pill -A urbit/pkg/arvo
  1. Run -mass in dojo, After the usual printfs, you should get something like:
...
total marked: MB/111.438.160
free lists: MB/1.909.560
sweep: MB/111.438.160

[~ 111.438.160]

The last line is the returned mass report. Try feeding it to a gate like:

> _need -mass
%arvo:
  %hoon:
    %one: KB/33.480
...
free lists: MB/1.872.416
sweep: MB/111.497.696

111.497.696
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment