From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: f7344,67cf07287bc8ee3e,start X-Google-Attributes: gidf7344,public X-Google-Thread: 1164f8,67cf07287bc8ee3e,start X-Google-Attributes: gid1164f8,public X-Google-ArrivalTime: 1992-12-05 13:03:42 PST Xref: sparky comp.os.vms:18857 comp.sys.dec:6328 Path: sparky!uunet!ornl!sunova!linac!pacific.mps.ohio-state.edu!zaphod.mps.ohio-state.edu!moe.ksu.ksu.edu!engr.uark.edu!mbox.ualr.edu!acs.harding.edu!DEYOUNG Newsgroups: comp.os.vms,comp.sys.dec Subject: Accessing amount of remaining virtual memory Message-ID: <1992Dec4.145117.753@ualr.edu> From: deyoung@acs.harding.edu (Joel M. DeYoung) Date: 4 Dec 92 14:51:16 -0500 Reply-To: deyoung@acs.harding.edu Organization: Harding University Nntp-Posting-Host: acs.harding.edu I was wondering if anyone was aware of how I could check through a system call of some sort how much virtual memory was left in my working set, i.e. how much I have left before I get a crash because of insufficient virtual memory. Is there a LIB$ or SYS$ call for such a thing? I am working on a Bible concordance program and as you can imagine, there are some lookups that just require too much memory, and I would rather be able to tell the user that instead of have the program stack dump. Any help would be appreciated. Followups to e-mail please. Thanks in advance. =========================================================== | Joel M. DeYoung 8-) | Mail: Box 686 Searcy, AR | | DEYOUNG@ACS.HARDING.EDU | 72149-0001 USA | | | Voice: 501-279-4562 | | Harding University | Fax: 501-279-4505 | ===========================================================