home *** CD-ROM | disk | FTP | other *** search
- Xref: sparky comp.unix.questions:9581 comp.sys.sun.misc:3400
- Path: sparky!uunet!darwin.sura.net!wupost!cs.utexas.edu!sun-barr!news2me.ebay.sun.com!cronkite.Central.Sun.COM!sixgun.East.Sun.COM!sungy!stasys!alanya!lupe
- From: lupe@ukw.uucp (Lupe Christoph)
- Newsgroups: comp.unix.questions,comp.sys.sun.misc
- Subject: Re: Problems with heap space
- Keywords: sun, unix
- Message-ID: <1992Jul30.123317.3843@ukw.uucp>
- Date: 30 Jul 92 12:33:17 GMT
- References: <ulla.712424533@kaa>
- Sender: uucp@stasys.sta.sub.org ()
- Organization: cic
- Lines: 40
-
- ulla@kaa.informatik.rwth-aachen.de (Ursula Derichs) writes:
-
-
- > Hello !
-
- >On our Sparc Station 1 (with SunOs 4.01) it is not possible to run big
- >executable image files (>4MB).
- >The following error message will be printed :
-
- > Cannot obtain enough heap space from the operating system to start.
-
- >Does anybody know how to increase the heap size, or what we can do to
- >solve the problem ?
-
- First of all I can't believe you are running 4.0.1 on a SPARCstation.
- The first release to support the sun4c architecture was 4.0.3c.
-
- Then, the message does not appear to be generated by the kernel.
- It is probably generated by a library used by your applications.
- Which language are you using? I cannot find anything remotely
- resembling this message on my system (4.1.2).
-
- Now for the meat. Your swap space is probably way too small.
- Have a look with:
- /usr/etc/pstat -s
-
- If this is the case, the easiest way is to create a swap *file*
- and use it temporarily (or maybe even "for time being").
- Do this as root:
-
- mkfile <size> <filesystem with space>/swap2
- swapon <filesystem with space>/swap2
-
- <size> can be a number followed by, e.g. 'm' for MByte,
- like 16m.
- --
- | ...!unido!ukw!lupe (German EUNet, "bang") | Disclaimer: |
- | lupe@ukw.UUCP (German EUNet, domain) | As I am self-employed, |
- | suninfo!alanya!lupe (Sun Germany) | this *is* the opinion |
- | Res non sunt complicanda praeter necessitatem. | of my employer. |
-