# Upgrading from /admin/upgrade takes \*very\* long

**URL:** <https://meta.discourse.org/t/upgrading-from-admin-upgrade-takes-very-long/256879>\
**Category:** Bug\
**Created:** [March 2, 2023, 8:33pm UTC](https://meta.discourse.org/t/upgrading-from-admin-upgrade-takes-very-long/256879 "2023-03-02T20:33:01Z")\
**Posts on this page:** 1\
**Showing post:** 11

<div class="post-metadata">

**Author:** ![sam](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/sam/32/102149_2.png) [@sam](https://meta.discourse.org/u/sam)\
**Post date:** [March 6, 2023, 8:56pm UTC](https://meta.discourse.org/t/upgrading-from-admin-upgrade-takes-very-long/256879/11 "2023-03-06T20:56:40Z")

</div>

@david and I found the root cause. (similar to what @Falco found in the past)

We use special Ruby flags to try to limit memory during upgrades and this no longer works on Ruby 3.2.

We should have a PR shortly to fix the issue.

---

_[View the full topic](https://meta.discourse.org/t/upgrading-from-admin-upgrade-takes-very-long/256879)._
