X-Authentication-Warning: delorie.com: mail set sender to djgpp-bounces using -f X-Recipient: djgpp AT delorie DOT com From: "BBelden" To: Subject: spawnl mode=P_OVERLAY Date: Thu, 13 Mar 2008 12:50:09 -0400 Message-ID: <000901c8852a$4cb610a0$2102a8c0@telecobbelden> MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_NextPart_000_000A_01C88508.C5A470A0" X-Mailer: Microsoft Office Outlook 11 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.3198 Thread-Index: AciFKkxRWdW+VO0iSxKmcaGH0QL+Fg== Reply-To: djgpp AT delorie DOT com This is a multi-part message in MIME format. ------=_NextPart_000_000A_01C88508.C5A470A0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Hello everyone. I have searched through the archives for help but didn't really help. I have multiple djgpp (32bit) compiled programs that continuously spawnl(P_OVERLAY,.) each other. The problem is, I have 100k conventional memory available at the start of these Programs. The parent always calls the child with spawnl(P_OVERLAY,.) I can do this about 6 times before crashing to dos. Can I deallocate the memory used by the parent? It seems that the parent's memory Never becomes available. Is is true that each successive call to spawnl will need ~18k of conventional memory Even if I use P_OVERLAY? Thanks for any help\ideas Bruce ------=_NextPart_000_000A_01C88508.C5A470A0 Content-Type: text/html; charset="us-ascii" Content-Transfer-Encoding: quoted-printable

Hello everyone.

 

I have searched through the archives for help but = didn’t really help.

 

I have multiple djgpp (32bit) compiled programs that continuously spawnl(P_OVERLAY,…) each = other.

 

The problem is, I have 100k conventional memory = available at the start of these

Programs. 

 

The parent always calls the child with = spawnl(P_OVERLAY,…)

 

I can do this about 6 times before crashing to = dos.

 

Can I deallocate the memory used by the parent?  = It seems that the parent’s memory

Never becomes available. =

 

Is is true that each successive call to spawnl will = need ~18k of conventional memory

Even if I use P_OVERLAY?

 

Thanks for any = help\ideas

Bruce

 

 

------=_NextPart_000_000A_01C88508.C5A470A0--