This is the mail archive of the java@gcc.gnu.org mailing list for the Java project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: maximum memory for gcj-compiled executable?


Erik Poupaert wrote:
On Unix-like systems we can constrain the maximum memory usage
of a process - without cooperation from that process.


Nice tip. How can I institute such limit on Linux Red Hat 8.0.

The simplest is probably to use bash's ulimit command. Do 'help ulmit'.

You can also set these from a C program; see
getrlimit, setrlimit and sysconf.
--
	--Per Bothner
per at bothner dot com   http://per.bothner.com/



Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]