On Tue, Jun 10, 2014 at 08:14:41PM +0100, Mikolaj Kucharski wrote:
> Hi,
>
> I think I'm hitting memory limit while trying to restore filesystem on
> one of my VMs. I've tested restore with 1GB of RAM and got error message
> from the subject. Dump has someting like:
>
> # zcat current1.dump.sd0a.gz | restore -t -s1 -f - | wc -l
> 617560
>
> of files and directories. Do you guys know how much memory box needs to
> have to restore the filesystem with so many inodes? I'm using bsd.rd:
>
> OpenBSD 5.5-current (RAMDISK_CD) #154: Mon Jun 9 10:30:10 MDT 2014
> [email protected]:/usr/src/sys/arch/i386/compile/RAMDISK_CD
A ulimit -a reveals your data limit, which is likely smaller than 1GB.
You could try ulimit -d unlimited
-Otto