# can't find space when apply log

**URL:** <https://forums.percona.com/t/cant-find-space-when-apply-log/2305>\
**Category:** Percona XtraBackup\
**Created:** [October 25, 2012, 4:11am UTC](https://forums.percona.com/t/cant-find-space-when-apply-log/2305 "2012-10-25T04:11:43Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![baoxiao](https://avatars.discourse-cdn.com/v4/letter/b/f6c823/32.png) [@baoxiao](https://forums.percona.com/u/baoxiao)\
**Post date:** [October 25, 2012, 4:11am UTC](https://forums.percona.com/t/cant-find-space-when-apply-log/2305/1 "2012-10-25T04:11:43Z")

</div>

When I run:  
innobackupex --apply-log --use-memory=4G /path\_of\_back

I got lots of “cannot find space” but it still completed with OK, does it matter or not?

Thanks

---

<div class="post-metadata">

**Author:** ![niljoshi](https://sea1.discourse-cdn.com/flex019/user_avatar/forums.percona.com/niljoshi/32/16889_2.png) [@niljoshi](https://forums.percona.com/u/niljoshi)\
**Post date:** [October 30, 2012, 12:16am UTC](https://forums.percona.com/t/cant-find-space-when-apply-log/2305/2 "2012-10-30T00:16:14Z")

</div>

Hi,

As far as your backup completed successfully, it does not matter but --use-memory option is for how much memory should be allocated for preparing a backup and you are giving 4G. Looks like your server doesn’t have that much free memory and that’s why it gives warning like “cannot find space”. Can you provide full output of backup command?

As per the documentation, if you have enough available memory, 1GB to 2GB is a good recommended value.

Thanks.

---

<div class="post-metadata">

**Author:** ![jdzions](https://avatars.discourse-cdn.com/v4/letter/j/90db22/32.png) [@jdzions](https://forums.percona.com/u/jdzions)\
**Post date:** [April 19, 2013, 8:02pm UTC](https://forums.percona.com/t/cant-find-space-when-apply-log/2305/3 "2013-04-19T20:02:10Z")

</div>

I have a server with 96GB of RAM that’s not doing anything at the moment except trying to restore a full backup of a moderately-large database (about 1.5 TB). I specified --use-memory=30GB, which one would think wouldn’t be a problem. I did get a couple dozen (cannot find space: 1715) messages while Innobackupex was “Starting an apply batch of log records” at the 90% mark, but things seem to have recovered and continued.

The documentation, while quite lovely, doesn’t really address itself adequately to moderately-large databases; many of the docs seem to think 16GB is an extraordinarily large amount of RAM.

InnoDB Backup Utility v1.5.1-xtrabackup; Copyright 2003, 2009 Innobase Oy  
and Percona Ireland Ltd 2009-2012. All Rights Reserved.

---

<div class="post-metadata">

**Author:** ![revin](https://sea1.discourse-cdn.com/flex019/user_avatar/forums.percona.com/revin/32/824_2.png) [@revin](https://forums.percona.com/u/revin)\
**Post date:** [April 24, 2013, 11:46pm UTC](https://forums.percona.com/t/cant-find-space-when-apply-log/2305/4 "2013-04-24T23:46:15Z")

</div>

> [@jdzions;9806](#):
>
> I have a server with 96GB of RAM that’s not doing anything at the moment except trying to restore a full backup of a moderately-large database (about 1.5 TB). I specified --use-memory=30GB, which one would think wouldn’t be a problem. I did get a couple dozen (cannot find space: 1715) messages while Innobackupex was “Starting an apply batch of log records” at the 90% mark, but things seem to have recovered and continued. The documentation, while quite lovely, doesn’t really address itself adequately to moderately-large databases; many of the docs seem to think 16GB is an extraordinarily large amount of RAM. InnoDB Backup Utility v1.5.1-xtrabackup; Copyright 2003, 2009 Innobase Oy and Percona Ireland Ltd 2009-2012. All Rights Reserved.

Hello,

Are you doing any DDLs during backup? What is your full backup command? H
