Article View: comp.os.os2.programmer.misc
Article #269Re: Memory Resource
From: James E Langston
Date: Sat, 07 Jan 1995 00:34
Date: Sat, 07 Jan 1995 00:34
24 lines
2159 bytes
2159 bytes
yyang (yyang@access.digex.net) wrote: : SYS0008: There is not enough storage available to process this command : All avaible storage is in use. : The swap file maybe full, or an I/O error may have occured on : the auxiliary storage that contains the swap file. : My hard drive is 1 Gygabyte and the memory is 32MB. At the begining of : the program, I commited 40MB bytes shared memory buffer space. My programs are Judging from the message, you are flat out of disk space for the swap file, to the extent that the system stops cold turkey. I would be glad to try to help, but I'll need a little more information on what you are doing in your code. Some questions: 1) Are you allocating the '40MB buffer' using DosAllocMem () or somesuch? 2) Are you suballocating memory from this buffer using DosSubAllocMem (), or what? 3) What are you trying to accomplish? (What is the app supposed to do?) This can affect what solution you use... Pipes and Queues might be what you need... 4) How do you control the access to the buffer? Semaphores? If you can supply a little more information, maybe I can lend a hand... Jimbob
Technical Details
Message-ID:
<3eknis$185@crl7.crl.com>Path:
arc1-ca.pugleaf.net!nntp.gmd.de!newsserver.jvnc.net!nntpserver.pppl.gov!princeton!rutgers!koriel!lll-winken.llnl.gov!overload.lbl.gov!agate!howland.reston.ans.net!nntp.crl.com!crl7.crl.com!not-for-mailReferences:
<3ek9au$ag4@access2.digex.net>Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 11307a,aff1ae7a951e9e39 X-Google-Attributes: gid11307a,public X-Google-Thread: 114b37,aff1ae7a951e9e39 X-Google-Attributes: gid114b37,public X-Google-Thread: 14d55b,aff1ae7a951e9e39 X-Google-Attributes: gid14d55b,public X-Google-ArrivalTime: 1995-01-07 10:13:46 PST Path: arc1-ca.pugleaf.net!nntp.gmd.de!newsserver.jvnc.net!nntpserver.pppl.gov!princeton!rutgers!koriel!lll-winken.llnl.gov!overload.lbl.gov!agate!howland.reston.ans.net!nntp.crl.com!crl7.crl.com!not-for-mail From: jimbob@crl.com (James E Langston) Newsgroups: comp.os.os2.programmer.misc,fido.ger.os2,git.os2 Subject: Re: Memory Resource Followup-To: comp.os.os2.programmer.misc,fido.ger.os2,git.os2 Date: 6 Jan 1995 16:34:36 -0800 Organization: CRL Dialup Internet Access (415) 705-6060 [Login: guest] Lines: 25 Message-ID: <3eknis$185@crl7.crl.com> References: <3ek9au$ag4@access2.digex.net> NNTP-Posting-Host: crl7.crl.com X-Newsreader: TIN [version 1.2 PL2]