|
OpenBSD General Other questions regarding OpenBSD which do not fit in any of the categories below. |
|
Thread Tools | Display Modes |
|
|||
growisofs: Cannot allocate memory
Apologies if this is a stupid question. I've just recently switched my desktop PC to OpenBSD 6.2 after many years of using Debian. I've tried to burn a 1.8GB .iso to DVD using the following command as a normal user:
$ growisofs -dvd-compat -Z /dev/rcd0c=file.iso It works fine if I run it as root, but when run as a user the following error message appears: :-(unable to allocate 56 bytes: Cannot allocate memory The user has 'staff' login class and I added /dev/rcd0c to the ttyC0 line in fbtab, so the user has permission to use the device. I can burn CDs with cdrecord as the same user. I suspect I'm running into a memory resource limit, but haven't been able to find where that limit is set (I've looked in login.conf). I tried adding the user to 'staff' group, but it made no difference. Is it possible to raise whatever limit is preventing this from working? |
|
|||
Quote:
|
|
|||
Strange. After a couple of reboots it's now working fine. Earlier the error was reliably reproducible. I'm now wondering if I actually did hit a memory limit, but I didn't have X or any other resource-hungry applications running at the time.
Code:
$ ulimit -a time(cpu-seconds) unlimited file(blocks) unlimited coredump(blocks) unlimited data(kbytes) 1572864 stack(kbytes) 4096 lockedmem(kbytes) 1262702 memory(kbytes) 3783848 nofiles(descriptors) 512 processes 256 Last edited by ocicat; 3rd December 2017 at 10:10 PM. Reason: Please use [code] & [/code] tags when posting command output. |
Thread Tools | |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Cannot allocate X bytes of memory (of type "heap"). | hanzer | OpenBSD General | 1 | 10th August 2017 11:58 AM |
growisofs (dvd+rw-tools) in openbsd | yezster | OpenBSD Packages and Ports | 1 | 24th August 2016 01:04 AM |
free memory | werwer | OpenBSD General | 12 | 8th July 2010 09:46 PM |
K3b cannot find growisofs | maxrussell | FreeBSD General | 5 | 26th April 2009 12:20 PM |
dwindling memory | chavez243 | FreeBSD General | 15 | 26th August 2008 04:06 PM |