after running an `export-codegen` today that gener...
# general
s
after running an
export-codegen
today that generated a ton of small files, I started getting “pantsd OOMKilled” errors on every following run, even on other commands. running with
--no-pantsd
now shows:
Copy code
/Users/runner/.cargo/git/checkouts/lmdb-rs-369bfd26153a2575/6ae7a55/lmdb-sys/lmdb/libraries/liblmdb/:2126: Assertion 'rc == 0' failed in mdb_page_dirty()
Abort trap: 6
has anyone hit this before & know what it means?
h
you could try
rm -rf .pids
to reset Pantsd.
--no-pantsd
doesn't actually kill the daemon, it only says to not use it
s
I have done that 🙂 pantsd is very dead
1
ah, deleting
rm -rf ~/.cache/pants/lmdb_store
seems to have fixed it
1
e
Yeah, move aside is better. Presumably it would be good for us to deal with this.
s
if it repros I’ll move the cache elsewhere in case it helps with testing a fix
probably will repro next time I run that big export
e
I've read a similar code pointer before. It's probaly worth understanding the lmdb code and what assertion it failed. We may be using an old version where newer have it fixed.