Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!wuarchive!zaphod.mps.ohio-state.edu!cis.ohio-state.edu!tut.cis.ohio-state.edu!ucbvax!ucbarpa.Berkeley.EDU!holmer From: holmer@ucbarpa.Berkeley.EDU (Bruce K. Holmer) Newsgroups: comp.sys.next Subject: Problem with running out of virtual memory (sbrk related) Message-ID: <42137@ucbvax.BERKELEY.EDU> Date: 14 May 91 01:04:34 GMT Sender: nobody@ucbvax.BERKELEY.EDU Reply-To: holmer@ucbarpa.Berkeley.EDU (Bruce K. Holmer) Distribution: na Organization: University of California, Berkeley Lines: 20 [] I have a program on the Next that I converted from a SUN binary long ago (0.9 days). It ran great until I updated to 2.0. Now it has the problem of running out of memory even when I set the limit to a very large number (using the csh limit command). I am confident in what I'm doing, because under 1.0 the program's virtual size could grow up to over 30 MB. Now (under 2.0) at about 8 MB it aborts with an out-of-memory error. This program (coming from the SUN world) uses sbrk to allocate more memory. The Next man pages say that it is not supported, but it _did_ work properly under 1.0. Why not under 2.0? Is there anything that I can do? I don't have the source to recompile. Even if I did have the source, what should sbrk be replaced with? Thanks in advance, Bruce Holmer holmer@ucbarpa.berkeley.edu