[comp.binaries.ibm.pc.d] Heap expanding utilities

fidelio@ai.mit.edu (Rob J. Nauta) (09/16/90)

Hello

I am looking for utilities or routines, PD or shareware to expand the heap
of an MS-DOS program. The program in question does a lot of _fmalloc's
and runs out of memory. I could write some routines to swap to disk, EMS
or extended memory, but I guess someone has done that before. does anyone
know if such a program/library/source exists ? If true, where can I get
it ? 

Thanks in advance, Rob

bright@Data-IO.COM (Walter Bright) (09/18/90)

In article <10729@life.ai.mit.edu> fidelio@ai.mit.edu (Rob J. Nauta) writes:
<I am looking for utilities or routines, PD or shareware to expand the heap
<of an MS-DOS program. The program in question does a lot of _fmalloc's
<and runs out of memory. I could write some routines to swap to disk, EMS
<or extended memory, but I guess someone has done that before. does anyone
<know if such a program/library/source exists ?

If you are using Zortech, there is a special pointer type you can use,
the __handle pointer type. Using it, you can allocate and use memory
that's in EMS just as if it were regular memory.

cramer@optilink.UUCP (Clayton Cramer) (09/19/90)

In article <10729@life.ai.mit.edu>, fidelio@ai.mit.edu (Rob J. Nauta) writes:
> Hello
> 
> I am looking for utilities or routines, PD or shareware to expand the heap
> of an MS-DOS program. The program in question does a lot of _fmalloc's
> and runs out of memory. I could write some routines to swap to disk, EMS
> or extended memory, but I guess someone has done that before. does anyone
> know if such a program/library/source exists ? If true, where can I get
> it ? 
> 
> Thanks in advance, Rob

Me too!  Me too!  Especially if it's free.

-- 
Clayton E. Cramer {pyramid,pixar,tekbspa}!optilink!cramer
Crime control, Los Angeles style: mandatory Rolex registration, five day
waiting period for used Rolex sales.
You must be kidding!  No company would hold opinions like mine!

nol2321@dsacg4.dsac.dla.mil (Jim Dunn) (09/20/90)

In article <10729@life.ai.mit.edu> fidelio@ai.mit.edu (Rob J. Nauta) writes:
>Hello
>
>I am looking for utilities or routines, PD or shareware to expand the heap
>of an MS-DOS program. The program in question does a lot of _fmalloc's
>and runs out of memory. I could write some routines to swap to disk, EMS
>or extended memory, but I guess someone has done that before. does anyone
>know if such a program/library/source exists ? If true, where can I get
>it ? 
>
>Thanks in advance, Rob

Well, Bob, I wish I could help you with your memory problems, but I am a
little confused by your question.  You see, you asked to "expand the heap"
of an MsDos program; I assume that you mean the EXEcutable of an MsDos
program; but you stated that your program does many _fmalloc's and runs out
of memory; which implies that you are doing more malloc's than you have
enough MEMORY for; I.E. you can't expand a PROGRAM with more memory, you
can only EXPAND your HARDWARE.

I would like to suggest that you look into the C add-on shareware library
called CXL, or TeSseRact-CXL (flyer below) for working with the expanded
memory in your computer, OK?  (or else do less malloc'ing...)

Note:  I am not in any way associated with the following companies, except
being a satisfied customer.

=======================================================================

   Fm: Mike Smedley 71331,2244
   To: All


                           A N N O U N C E M E N T

       The CXL C function library, and all rights to market and support
   it, have been sold.  CXL has been a pleasure to produce and support
   in the past, but many things have come up, resulting in substandard
   service to CXL users.  The sale was needed to ensure CXL's growth and
   dominance in the shareware C library market.

       The new owner of CXL is Chip Rabinowitz and his company
   Innovative Data Concepts.  Chip is well-known in the programming
   community for his work on the TesSeRact TSR libraries and the Swap
   Utilities.  He is also very active on CompuServe, providing
   invaluable advice to both novice and expert programmers. Chip is an
   active member of the Association of Shareware Professionals (ASP).

       All future CXL orders, inquiries, and support will be handled by
   Innovative Data Concepts.  Their address is 1657 The Fairways, Suite
   101, Jenkintown, PA 19046.  They can be contacted via electronic mail
   on CompuServe (70731,20) or MCI Mail (315-5415). For tech support
   call: 215-884-3373; FAX: 215-886-4226; orders: 1-800-926-4551.

       A new version of CXL is due out around September 1st, 1990, and
   will contain all enhancements to CXL since version 5.2.  CXL will be
   renamed to the "TesSeRact CXL Windowing Library" and will initially
   appear as version 5.5.

   ======================================

   Fm: Chip Rabinowitz(BprogB) 76702,1361
   To: Mike Smedley 71331,2244 (X)

   Innovative Data Concepts is pleased to announce the acquisition of
   Mike Smedley's CXL Library.  We are proud to add such a high-quality
   programmer's tool to your TesSeRact(TM) Development Tools product
   line.

   Version 5.5 of the TesSeRact CXL Windowing Library will be available
   directly from IDC during the first week in September, 1990.  Some
   (but not all) of the new features include:

        Faster window updates
        Automatic support for DV/Windows Virtual Screens
        Multi-field data entry has been greatly enhanced
        Help system is now 'callable'
        More than 20 new user functions
        Calling/Naming conventions standardized

   CXL Version 5.5 will cost $50, which includes printed documentation,
   the complete source code, and one library disk.  Additional library
   disks are available for $15.  Current registered users of CXL will
   receive an upgrade mailing within the next two weeks, offering them
   the new version for $20. Library disks are available for Borland's
   Turbo C 2.0/Turbo C++ 1.0; Microsoft C 5.1; Microsoft C 6.0;
   Microsoft QuickC; and Zortech C++ 2.1. Other compiler support is
   planned for the next few months.

   While we WILL take orders for the product now, we request you wait
   until the product officially is shipped next month.  Call IDC at
   1-215-884-3373 for more information, or 1-800-926-4551 for orders.

   Chip Rabinowitz Owner, Innovative Data Concepts
   E-Mail, Internet address: 76702.1361@compuserve.com

=======================================================================

 Jim Dunn; jdunn@dsac.dla.mil; AV 850-9713; AT&T 614-238-9713; FAX 614-238-9936
 Department of Defense-Defense Logistics Agency-Systems Automation Center, DSAC
 *******  Compuserve Users Send Mail To:  >INTERNET:jdunn@dsac.dla.mil  *******
 "I thought I needed to be free-but when I was free-I just needed to be needed"