[comp.sys.next] Problem with running out of virtual memory

holmer@ucbarpa.Berkeley.EDU (Bruce K. Holmer) (05/14/91)

[]

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