# pt-upgrade Out of Memory

**URL:** <https://forums.percona.com/t/pt-upgrade-out-of-memory/4261>\
**Category:** Percona Toolkit\
**Created:** [June 11, 2015, 3:49pm UTC](https://forums.percona.com/t/pt-upgrade-out-of-memory/4261 "2015-06-11T15:49:14Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![maxidumon](https://avatars.discourse-cdn.com/v4/letter/m/7feea3/32.png) [@maxidumon](https://forums.percona.com/u/maxidumon)\
**Post date:** [June 11, 2015, 3:49pm UTC](https://forums.percona.com/t/pt-upgrade-out-of-memory/4261/1 "2015-06-11T15:49:14Z")

</div>

Hi all,

I’m running a test using the Percona Toolkit pt-upgrade. When i start the test the referential log has 20Megabytes size, but the tests never finish ok. Always Linux Ubuntu Server kills the test because perl has 15 gigabytes of memory taken.

I added a swap file with 30Gigabytes of size, but the test has broken again with the same error, perl consume the 94% of mememory.

I don’t know if is necesary configure some Linux’s parameter or MariaDB’s parameter.

MariaDB Version is 5.5 (5.5.42-MariaDB-1~precise-log).

Thanks in advance for your answer.  
MD

---

<div class="post-metadata">

**Author:** ![valerie](https://avatars.discourse-cdn.com/v4/letter/v/ccd318/32.png) [@valerie](https://forums.percona.com/u/valerie)\
**Post date:** [February 18, 2016, 12:01am UTC](https://forums.percona.com/t/pt-upgrade-out-of-memory/4261/2 "2016-02-18T00:01:52Z")

</div>

Hello. I am having the same problem. This happens with any version of pt-upgrade 2.2.\*. Perl is 5.16. OS is Centos7. What is the required perl version for pt-upgrade 2.2?
