curt@OCE.ORST.EDU (Curt Vandetta) (03/22/91)
Hello folks, I'm wondering if there is a command in HP-UX similar to the csh % limit datasize=3000000 available under SunOs? This command sets the Maximum data size (including stack) for a process. I currently have a rather large program (lots of big arrays) that is dumping core inside of a malloc call. Actually I'm using fgets, which is calling fillbuf, which calls findbuf, which calls malloc which calls eXcatch, which calls kill and dumps core. (I probably got those names wrong as this is from memory.) Anyway, I'm pulling my hair out, tracking all of my pointers and someone (A Sun user) mentioned I should look up my datasize limit, but I can't find anything close, except ulimit which looks like it might be what I need only it is privilaged and called within the process. Thanks, Curt