home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1993 #1 / NN_1993_1.iso / spool / comp / database / 8928 < prev    next >
Encoding:
Text File  |  1993-01-08  |  2.3 KB  |  51 lines

  1. Newsgroups: comp.databases
  2. Path: sparky!uunet!gatech!usenet.ins.cwru.edu!agate!spool.mu.edu!umn.edu!dell32.ortta.umn.edu!durai
  3. From: durai@ortta.umn.edu (Durai Venkatasubramanian)
  4. Subject: Re: Foxpro and Insufficient Memory Errors
  5. Message-ID: <durai.120.726504552@ortta.umn.edu>
  6. Lines: 37
  7. Sender: news@news2.cis.umn.edu (Usenet News Administration)
  8. Nntp-Posting-Host: dell32.ortta.umn.edu
  9. Organization: U of Mn
  10. References: <1993Jan7.222734.20312@nntpd2.cxo.dec.com>
  11. Date: Fri, 8 Jan 1993 14:49:12 GMT
  12. Lines: 37
  13.  
  14. In article <1993Jan7.222734.20312@nntpd2.cxo.dec.com> scott@talguy.cxo.dec.com (Scott Johnson) writes:
  15. >From: scott@talguy.cxo.dec.com (Scott Johnson)
  16. >Subject: Foxpro and Insufficient Memory Errors
  17. >Date: Thu, 7 Jan 1993 22:27:34 GMT
  18.  
  19. >Is there a command I can run ocassionally during the execution of the program
  20. >which will cut down and possibly reclaim unused memory?  I was hoping there
  21. >was some sort of garbage collection routine that can be invoked once in a 
  22. >while during the execution cycle of the application.
  23.  
  24. 4mg to me is quite a lot of memory.  You should not get "insufficient 
  25. memory" errors, unless you have tons of TSRs out there, or you are using 
  26. some kind of task switcher to manage multiple applications.  Assuming you 
  27. can get rid of unwanted TSRs,...may be you can try one or more of the 
  28. following.
  29.  
  30. 1. Is DOS loaded high ?
  31. 2. Are you using foxpro extended version ? <it will take advantage of upper 
  32.    memory>
  33. 3. Are you using any expanded memory managers ? <ms-dos includes himem.sys, 
  34.    and emm386 that help you access the upper memory area.  make sure you use 
  35.    them, unless you want third party memory managers.  again, if you are 
  36.    using emm386, you should have device=emm386.sys in your config.sys, 
  37.    otherwise the 3mg of memory will be ignored>
  38. 4. mem command (dos) will display the amound of used and free memory in 
  39.    the system (mem has several switches)
  40. 5. in your config.fp, if "dosmem = on", foxpro will use all dos memory with 
  41.    any extended memory
  42. 6. check you config.sys for files, buffers entries <buffers hog memory>
  43. 7. sys(12)  : remaining memory
  44.    sys(23)  : ems usage
  45.    sys(24)  : ems limit
  46.    sys(1001): foxpro's memory
  47.    sys(1016): memory used by user objects
  48. 8. if you are using foundation read (or any other type of event driven 
  49.    interface), you might use up a lot of memory
  50.  
  51.