home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #19 / NN_1992_19.iso / spool / comp / unix / bsd / 4826 < prev    next >
Encoding:
Text File  |  1992-08-29  |  1.8 KB  |  44 lines

  1. Newsgroups: comp.unix.bsd
  2. Path: sparky!uunet!haven.umd.edu!darwin.sura.net!jvnc.net!nuscc!ntuix!eoahmad
  3. From: eoahmad@ntuix.ntu.ac.sg (Othman Ahmad)
  4. Subject: Re: [386bsd] Virtual memory exhausted. Do I need more swap?
  5. Message-ID: <1992Aug29.034040.24736@ntuix.ntu.ac.sg>
  6. Organization: Nanyang Technological University - Singapore
  7. X-Newsreader: Tin 1.1 PL4
  8. References: <1992Aug28.124024.10483@corax.udac.uu.se>
  9. Date: Sat, 29 Aug 1992 03:40:40 GMT
  10. Lines: 32
  11.  
  12. goran@astro.uu.se (Goran Hammarback) writes:
  13. : In article <david.714981284@mlb.geomechanics.csiro.au>, david@mlb.geomechanics.csiro.au (David Le Blanc) writes:
  14. : |> When compiling some programs with GCC, I get the message 'virtual memory
  15. : |> exhausted'. I have 40Meg virtual memory, so I am sure that is not the problem.
  16.  
  17. I had the same problem compiling petdingo at the bison.simple parser output
  18. with lots of macros, using g++. I have no problems compiling gcc-2.2.2 using
  19. gcc only(no g++). I have 16Mbyte RAM and 15Mbyte swap.
  20. I tried to increase it by 7Mbyte more but cannot create additional swap 
  21. partition using disklabel 0.1. Maybe disklabel 0.0 may work but I do not
  22. have that copy any more.
  23.  
  24. : |> 
  25. : |> Is there a setting with GCC which I should raise or what??
  26. : You have probably encountered a software limit on memory.
  27. : In csh (maybe also in the other shells, but I use csh (well, actually
  28. : tcsh 8-) )) there is command named limit.  I'm not at my 386BSD computer
  29. : now, so I'm not sure of the names,  but do limit and look for things that
  30. : may be called: stacksize, datasize, and memoryuse. 
  31. : Increase these values as wanted.
  32.  
  33. I had tried running as root, ash, csh, and bash without success.
  34. I'll try raising other parameters.
  35.  
  36. --
  37. Othman bin Ahmad, School of EEE,
  38. Nanyang Technological University, Singapore 2263.
  39. Internet Email: eoahmad@ntuix.ntu.ac.sg
  40. Bitnet Email: eoahmad@ntuvax.bitnet
  41.  
  42.