Sign up on the Revelation Software website to have access to the most current content, and to be able to ask questions and get answers from the Revelation community

At 13 JAN 2000 11:08:00PM Mark Plasko wrote:

How necessary are the Flush and GarbageCollect functions in the NT and Novell environments? Should they be included in every stored proc and script?


At 16 JAN 2000 02:44PM Steve Smith wrote:

Flush is an attempt to close unused file handles.

Garbagecollect is an attempt to pack all variables into string space contiguously, thus making the largest available pool of contiguous free string space. Not unlike "defragmenting" a disk, but done in RAM.

In a network environment, every time you open a file someone else on the network has already opened, you make a truckload of work for the NOS. So closing files with flush means that you save the network resources.

Garbagecollect will be of value in reducing memory utilitization any time, regardless of network or standalone. Flush (because of caching etc.) may be a waste of time on some occasions, but can still assist with reducing network resource contention.

Steve


At 16 JAN 2000 04:28PM Mark Plasko wrote:

  • third_party_content/community/commentary/forums_nonworks/27baa4bc7478c85a852568660016b4a6.txt
  • Last modified: 2023/12/28 07:40
  • by 127.0.0.1