I have built an extended program which is working 10 hours a day on a DOS 6.22 system with 8Mo of memory.
During execution, extended memory available is decreasing, and when the 7Mo are used, my program use all the conventionnal memory available.
At the end of day, before closing the program, I execute an other extended program using the blinker's swap function and message "1312: insufficient extended memory available to run program" appear. Sometimes, the program crash during the day when memory available is very low.
I have insert memory traces into my program, it use 2Mo of extended memory at the begining, and, after executing near 10 times the same operation (memory available doesn't decrease between the first 9 operation), the program allocate two other megabytes !
Is there anybody who can help me ?
- I compile my source code with CLIPPER 5.2 and /A/M/N/W options.
- This is an example of my link script :
BLINKER INCREMENTAL OFF
BLINKER EXECUTABLE COMPRESS 1
BLINKER EXECUTABLE EXTENDED
NOBELL
OUTPUT ExeName
FILE FILE1 # clipper program
FILE FILE2 # clipper program
FILE FILE3 # clipper program
FILE FILE4 # clipper program
FILE CFILE5 # C program
LIB COMM, TPOVl52, TPBLX52
@TPBLX.LNK
SEARCH BLXCLP52.LIB
- And this is an example of my CONFIG.SYS :
DEVICE=C:\DOS\HIMEM.SYS
DEVICE=C:\DOS\EMM386.EXE NOEMS I=A000-AFFF
DOS=HIGH,UMB
BUFFERS=50
FILES=120
DEVICEHIGH=C:\NET\IFSHLP.SYS
SHELL=C:\DOS\COMMAND.COM /E:2048 /P
COUNTRY=033,437,C:\DOS\COUNTRY.SYS
- In the AUTOEXEC.BAT, just the "SET CLIPPER=F120, BADCACHE" is interesting.
I am working on this memory problem from 3 weeks, and I have no idea how to solve it ! I Think I need help...
Thanks very much for your attention.
During execution, extended memory available is decreasing, and when the 7Mo are used, my program use all the conventionnal memory available.
At the end of day, before closing the program, I execute an other extended program using the blinker's swap function and message "1312: insufficient extended memory available to run program" appear. Sometimes, the program crash during the day when memory available is very low.
I have insert memory traces into my program, it use 2Mo of extended memory at the begining, and, after executing near 10 times the same operation (memory available doesn't decrease between the first 9 operation), the program allocate two other megabytes !
Is there anybody who can help me ?
- I compile my source code with CLIPPER 5.2 and /A/M/N/W options.
- This is an example of my link script :
BLINKER INCREMENTAL OFF
BLINKER EXECUTABLE COMPRESS 1
BLINKER EXECUTABLE EXTENDED
NOBELL
OUTPUT ExeName
FILE FILE1 # clipper program
FILE FILE2 # clipper program
FILE FILE3 # clipper program
FILE FILE4 # clipper program
FILE CFILE5 # C program
LIB COMM, TPOVl52, TPBLX52
@TPBLX.LNK
SEARCH BLXCLP52.LIB
- And this is an example of my CONFIG.SYS :
DEVICE=C:\DOS\HIMEM.SYS
DEVICE=C:\DOS\EMM386.EXE NOEMS I=A000-AFFF
DOS=HIGH,UMB
BUFFERS=50
FILES=120
DEVICEHIGH=C:\NET\IFSHLP.SYS
SHELL=C:\DOS\COMMAND.COM /E:2048 /P
COUNTRY=033,437,C:\DOS\COUNTRY.SYS
- In the AUTOEXEC.BAT, just the "SET CLIPPER=F120, BADCACHE" is interesting.
I am working on this memory problem from 3 weeks, and I have no idea how to solve it ! I Think I need help...
Thanks very much for your attention.