# 4 days of upgrading db (to v1.5.0) ending in out ot memory

**URL:** https://forum.syncthing.net/t/4-days-of-upgrading-db-to-v1-5-0-ending-in-out-ot-memory/15111
**Category:** Support
**Created:** [June 1, 2020, 7:19pm UTC](https://forum.syncthing.net/t/4-days-of-upgrading-db-to-v1-5-0-ending-in-out-ot-memory/15111 "2020-06-01T19:19:09Z")
**Posts on this page:** 1
**Showing post:** 8

<div class="post-metadata">

### Author: ![calmh](https://forum.syncthing.net/user_avatar/forum.syncthing.net/calmh/32/15311_2.png) [@calmh](https://forum.syncthing.net/u/calmh)
#### Post date: [June 2, 2020, 8:29pm UTC](https://forum.syncthing.net/t/4-days-of-upgrading-db-to-v1-5-0-ending-in-out-ot-memory/15111/8 "2020-06-02T20:29:48Z")

</div>

Oh! There was a database bug in some old version (potentially around 1.3.4) with large databases on 32 bit specifically. (That combo is not the most common.) It has those symptoms. Potentially you could repair it on a machine with more RAM, but otherwise you’re better off dropping it and rescanning from start if possible.

Ah, this was it: [Many small LDB files with database tuning](https://forum.syncthing.net/t/many-small-ldb-files-with-database-tuning/13842/2)

---

_[View the full topic](https://forum.syncthing.net/t/4-days-of-upgrading-db-to-v1-5-0-ending-in-out-ot-memory/15111)._
