View Single Post
  #4   (View Single Post)  
Old 18th May 2014
ibara ibara is offline
OpenBSD language porter
 
Join Date: Jan 2014
Posts: 783
Default

Quote:
Originally Posted by moisespedro View Post
pkg_add works fine but well I am a former Gentoo user, I like to compile stuff from source. Even knowing the binary packages works fine it is a problem that still bothers me, don't the errors I am getting (unable to allocate memory, out of virtual memory) means there is something wrong with my system?
While you're free to waste your own time building ports on a release (http://funroll-loops.info/), this one is simple:

Code:
$ ulimit -d
524288
$ ulimit -d 1048576
$ cd /usr/ports/www/mozilla-firefox && make install-all
You can keep raising it until you find what works for you.

I like this better than messing with /etc/login.conf because you'll only raise limits if and when you need them, and it's impossible to make any subtle mistakes in that file.

The relevant man page here is ksh(1) and grep for ulimit. I'd highly suggest you learn it first on the default shell before moving on to other shells.
Reply With Quote