Re: Giving java apps more memory

2011-11-23 Thread Stuart Henderson
On 2011-11-19, John Tate j...@johntate.org wrote: Is this information helpful... john@rothbard ~$ ulimit -a core file size (blocks, -c) unlimited data seg size (kbytes, -d) 524288 file size (blocks, -f) unlimited max locked memory (kbytes, -l) 1354329

Re: Giving java apps more memory

2011-11-22 Thread Christiano F. Haesbaert
On 19 November 2011 02:27, John Tate j...@johntate.org wrote: Is this information helpful... john@rothbard ~$ ulimit -a core file size (blocks, -c) unlimited data seg size (kbytes, -d) 524288 file size (blocks, -f) unlimited max locked memory (kbytes,

Re: Giving java apps more memory

2011-11-22 Thread Amit Kulkarni
Is this information helpful... john@rothbard ~$ ulimit -a core file size (blocks, -c) unlimited data seg size (kbytes, -d) 524288 file size (blocks, -f) unlimited max locked memory (kbytes, -l) 1354329 max memory size (kbytes, -m) 4059940

Re: Giving java apps more memory

2011-11-21 Thread Alexander Hall
On 11/19/11 05:27, John Tate wrote: There is no manpage for ulimit. It's in ksh(1) (and I'd suspect in other shell's man pages too)

Re: Giving java apps more memory

2011-11-18 Thread Richard Toohey
On 19/11/2011, at 4:12 PM, John Tate wrote: Netbeans crashes with this... john@rothbard ~$ netbeans # # A fatal error has been detected by the Java Runtime Environment: # # java.lang.OutOfMemoryError: requested 32784 bytes for Chunk::new. Out of swap space? # # Internal Error

Re: Giving java apps more memory

2011-11-18 Thread Andres Perera
you can patch the apps to use setrlimit() you can write a small sh wrapper that sets ulimits and execs your app you can also set your defaults in /etc/login.conf or ~/.profile depends on what you want i use gimp and ff so login.conf/.profile is really more sensible than wrapping all the

Re: Giving java apps more memory

2011-11-18 Thread John Tate
[john@rothbard ~$ ulimit unlimited There is something very simple I am missing. I'm getting really confused here. On Sat, Nov 19, 2011 at 2:53 PM, Andres Perera andre...@zoho.com wrote: you can patch the apps to use setrlimit() you can write a small sh wrapper that sets ulimits and execs

Re: Giving java apps more memory

2011-11-18 Thread John Tate
Is this information helpful... john@rothbard ~$ ulimit -a core file size (blocks, -c) unlimited data seg size (kbytes, -d) 524288 file size (blocks, -f) unlimited max locked memory (kbytes, -l) 1354329 max memory size (kbytes, -m) 4059940 open files

Re: Giving java apps more memory

2011-11-18 Thread John Tate
Found it in the info page. I'm going to STFU and come back tomorrow if I'm still this stupid. On Sat, Nov 19, 2011 at 3:27 PM, John Tate j...@johntate.org wrote: Is this information helpful... john@rothbard ~$ ulimit -a core file size (blocks, -c) unlimited data seg size