Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Error 116

Status
Not open for further replies.

Guest_imported

New member
Jan 1, 1970
0
I use an old cobol compiler for dos and my programs run and everything. but when i use more 6 calls i get error 116 this means out of memory but i have 512 MB installed so i wont think that's a problem for thos little programs what can i do about it?
thanx
 
If it is dos, it can use only 640 kb of memory and your 512 mb is useless. Every call statement loads another module into memory.
Two tips:
1. After a call statement, you must write a CANCEL statement to remove the called module from memory.
2. You can check in a dos-box with the mem command, how much of the 640k is really available. By configuring the dos-subsystem, perhaps you can increase the amount of available dos memory.

Marcel
 
Some old compilers can work with a CHAIN statement which can help.

What compiler is it?

Regards,

Crox
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top