home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #31 / NN_1992_31.iso / spool / comp / os / vms / 20120 < prev    next >
Encoding:
Text File  |  1992-12-30  |  2.1 KB  |  41 lines

  1. Newsgroups: comp.os.vms
  2. Path: sparky!uunet!paladin.american.edu!gatech!darwin.sura.net!haven.umd.edu!decuac!pa.dec.com!nntpd2.cxo.dec.com!adserv.enet.dec.com!winalski
  3. From: winalski@adserv.enet.dec.com (Paul S. Winalski)
  4. Subject: Re: ballooning EXE size
  5. Message-ID: <1992Dec30.222945.25613@nntpd2.cxo.dec.com>
  6. Lines: 28
  7. Sender: usenet@nntpd2.cxo.dec.com (USENET News System)
  8. Reply-To: winalski@adserv.enet.dec.com (Paul S. Winalski)
  9. Organization: Digital Equipment Corporation, Nashua NH
  10. References: <01GSUT89O7JK000J0I@XRT.UPENN.EDU> <29DEC199216584048@venus.lerc.nasa.gov>
  11. Date: Wed, 30 Dec 1992 22:29:45 GMT
  12.  
  13.  
  14. In article <29DEC199216584048@venus.lerc.nasa.gov>,
  15. uugblum@venus.lerc.nasa.gov (VMScluster Administrator) writes:
  16. |>
  17. |>I assisted one of the users here with this problem about a month ago.
  18. |>
  19. |>The problem with a program growing from a small to a large executable size
  20. |>by making a small change in source code is caused by the linker demand zero
  21. |>compression not being used when a certain image section count is exceeded.
  22. |>This can be corrected by specifying a ISD_MAX value of 200 to 300 in a
  23. |>link options file.  See the DSNlink article entitled "Image File Grows Much
  24. |>Larger After Adding Small Amount of Code".
  25.  
  26. Raising ISD_MAX creates its own set of problems.  You may have to raise
  27. PROCSECTCNT, for example, which increases the size of process headers and thus
  28. the amount of physical memory permanently allocated to VMS.  Also, having lots
  29. of process sections can drastically increase image activation time.
  30.  
  31. A better way to remedy this situation is to examine the link map to determine
  32. which program sections are initialized versus uninitialized, and to use
  33. CLUSTER and COLLECT linker options to cause those program sections to be
  34. consolidated into a single image section.  With rare exceptions, a VMS
  35. executable image need not have more than 10 image sections, not counting those
  36. associated with shareable images that the executable image references.  If
  37. an image is bumping into the ISD_MAX limit, that is a sign that the programmer
  38. needs to take a look at how the PSECTs are being laid out in memory.
  39.  
  40. --PSW
  41.