home *** CD-ROM | disk | FTP | other *** search
/ Crawly Crypt Collection 1 / crawlyvol1.bin / telecomm / imhov107 / doc / memory.txt < prev    next >
Text File  |  1994-05-22  |  5KB  |  132 lines

  1.  
  2.                                IMHO
  3.                                ====
  4.  
  5. --------------------------- Memory use --------------------------------
  6.  
  7. The program requires an initial chunk of memory, plus the size of 
  8. the resource file, plus some memory for the data files it loads.
  9.  
  10. It requires more memory when a message packet has been opened, and
  11. various functions within the open packet screens will require even
  12. more memory (which is dynamically allocated and freed).
  13.  
  14. Memory needed for initialisation
  15. --------------------------------
  16. At version 1.06, IMHO needs 134K + 10K to load IMHO.RSC =  144K
  17.  
  18. Memory needed for loading IMHO.USR :-
  19.     Size of file + 16 x No. of Users in file
  20.  
  21. Memory needed for loading IMHO.SIG :-
  22.     Size of file + 4 x No. lines in file
  23.  
  24. Memory needed for loading IMHO.TAG :-
  25.     Size of file + 4 x No. of Taglines in file
  26.  
  27. Memory needed for opening a message packet
  28. ------------------------------------------
  29. The archiver is invoked to unpack the messages, so you must
  30. have enough memory available to run it.
  31.  
  32. After the archiver has finished the messages are loaded into memory.
  33.  
  34. Memory needed for loading messages :-
  35.      Size of the decompressed file MESSAGES.DAT 
  36.    + 2 x No. of messages  +  2 x No. of (personal + All) messages
  37.    + 2 x No. of personal messages
  38.  
  39. Memory needed for Reading Messages
  40. ----------------------------------
  41. Needs :-
  42.    Size of largest message
  43.  + Maximum( 8000  or  8 x No. of lines in largest message )
  44.  
  45. Gets freed on return to "Open packet screen"
  46.  
  47. Memory needed for View Replies
  48. ------------------------------
  49. Needs :-
  50.    128 x No. of replies
  51.  
  52. Memory needed for Load Replies
  53. ------------------------------
  54. Needs the maximum of the following :-
  55.  
  56.    Size of decompressed reply file
  57.  
  58.    Memory needed to run archiver (probably the most)
  59.  
  60. Memory needed for Make Reply Packet
  61. -----------------------------------
  62. Needs the maximum of the following :-
  63.  
  64.    Size of largest reply file + 138
  65.  
  66.    Size of compressed reply packet
  67.  
  68.    Memory needed to run archiver (probably the most)
  69.  
  70. If the Close Packet option is selected, followed by clicking YES
  71. to make a reply packet, then the memory needed for loading the
  72. messages is released BEFORE invoking the archiver. You may need
  73. to do this if you're short on memory or have a very large message
  74. packet to process.
  75.  
  76. Additional memory
  77. -----------------
  78. Some options, such as where a file selector is shown, will require
  79. an extra 32000 bytes (for a screen save area) just for the duration
  80. of that option.
  81.  
  82. In order to reply to a message you need to have enough memory to
  83. run the editor.
  84.  
  85. You also need a little (20-30K ?) memory to allow the operating
  86. system to function.
  87.  
  88. Complications
  89. -------------
  90. The memory allocation routines work in a granular manner; that is, 
  91. they grab chunks, or heaps, of memory which are then broken up for
  92. use by further allocation requests.
  93.  
  94. The default size for a heap is 64K, so even if you are loading
  95. very small data files, it will still grab 64K extra. If a chunk of
  96. memory larger than the heap size is requested - usually for loading
  97. the messages, then a heap equal to that size is grabbed.
  98.  
  99. This means it's not quite so easy to predict the exact amount of
  100. memory needed to process a packet.
  101.  
  102. You can change the heap size by using the "Heap Block Size" keyword
  103. in the configuration file, IMHO.CFG, in order to reduce the memory
  104. required. Generally, making it smaller is better, though if you
  105. reduce it too far (say less than 2000) you may hit problems, as it
  106. can only allocate 16 heaps at once.
  107.  
  108. Try making the heap size a little larger than the size of the sum
  109. of the IMHO.TAG, IMHO.SIG, and IMHO.USR file sizes, if you're
  110. really pushed for memory. Otherwise 20-30K will probably do, or
  111. leave it at 64K if you have plenty of memory spare.
  112.  
  113. Rough guide to memory used by ZIPJR
  114. -----------------------------------
  115. I've noticed that when programs are run from within the
  116. OLR they seem to use 50K more than being run from the desktop.
  117. The following figures include the extra 50K.
  118.  
  119. When decompressing, ZIPJR seems to use about 290K.
  120.  
  121. When compressing, ZIPJR seems to use about 310K.
  122.  
  123. Ramdisk size, for people using one for the Work directory
  124. ---------------------------------------------------------
  125. The ramdisk needs to be big enough for the decompressed message
  126. packet, plus 7K for directories, plus space for your reply
  127. text files plus (optionally) space for compressed QWK packets, 
  128. plus space for compressed reply packets (and probably plus the space
  129. for the editor and archiver if you want to speed things up).
  130.  
  131.  
  132.