home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #16 / NN_1992_16.iso / spool / comp / unix / question / 9581 < prev    next >
Encoding:
Internet Message Format  |  1992-07-22  |  2.0 KB

  1. Xref: sparky comp.unix.questions:9581 comp.sys.sun.misc:3400
  2. 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
  3. From: lupe@ukw.uucp (Lupe Christoph)
  4. Newsgroups: comp.unix.questions,comp.sys.sun.misc
  5. Subject: Re: Problems with heap space
  6. Keywords: sun, unix
  7. Message-ID: <1992Jul30.123317.3843@ukw.uucp>
  8. Date: 30 Jul 92 12:33:17 GMT
  9. References: <ulla.712424533@kaa>
  10. Sender: uucp@stasys.sta.sub.org ()
  11. Organization: cic
  12. Lines: 40
  13.  
  14. ulla@kaa.informatik.rwth-aachen.de (Ursula Derichs) writes:
  15.  
  16.  
  17. > Hello !
  18.  
  19. >On our Sparc Station 1 (with SunOs 4.01) it is not possible to run big 
  20. >executable image files (>4MB). 
  21. >The following error message will be printed :
  22.  
  23. >   Cannot obtain enough heap space from the operating system to start.
  24.  
  25. >Does anybody know how to increase the heap size, or what we can do to 
  26. >solve the problem ?
  27.  
  28. First of all I can't believe you are running 4.0.1 on a SPARCstation.
  29. The first release to support the sun4c architecture was 4.0.3c.
  30.  
  31. Then, the message does not appear to be generated by the kernel.
  32. It is probably generated by a library used by your applications.
  33. Which language are you using? I cannot find anything remotely
  34. resembling this message on my system (4.1.2).
  35.  
  36. Now for the meat. Your swap space is probably way too small.
  37. Have a look with:
  38.     /usr/etc/pstat -s
  39.  
  40. If this is the case, the easiest way is to create a swap *file*
  41. and use it temporarily (or maybe even "for time being").
  42. Do this as root:
  43.  
  44.     mkfile <size> <filesystem with space>/swap2
  45.     swapon <filesystem with space>/swap2
  46.  
  47. <size> can be a number followed by, e.g. 'm' for MByte,
  48. like 16m.
  49. -- 
  50. | ...!unido!ukw!lupe  (German EUNet, "bang")     |  Disclaimer:            |
  51. | lupe@ukw.UUCP       (German EUNet, domain)     |  As I am self-employed, |
  52. | suninfo!alanya!lupe (Sun Germany)              |  this *is* the opinion  |
  53. | Res non sunt complicanda praeter necessitatem. |  of my employer.        |
  54.