Operating System - Linux
1753877 Members
7502 Online
108809 Solutions
New Discussion юеВ

Re: malloc() - Error No 12

 
SOLVED
Go to solution
KennethMRay
Advisor

Re: malloc() - Error No 12

Excellent...thanks you very mcuh for spelling it out for me..I appreciate it.
Dennis Handly
Acclaimed Contributor

Re: malloc() - Error No 12

And if you link with -N, EXEC_MAGIC, if you use a large maxssiz, it will limit your heap to 2 Gb - maxssiz.
Dennis Handly
Acclaimed Contributor

Re: malloc() - Error No 12

I forgot to mention that if you have some applications (Fortran) that need the larger maxssiz but your application needs the larger heap, you can use "ulimit -s 8192" to limit the stack for child processes.