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 bkrike on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Out of Memory using RTLink

Status
Not open for further replies.

NickKK

Programmer
Sep 16, 2002
2
BR
I've reinstalled Windows 2000 Server and I'm unable to create my .exe files.
My Config.NT contains:
Dos=high, umb
Device=.............\himem.sys
Files=95

My environment variables include:
Set Clipper=F:150;Dynf:8;R:25;SwapPath:'c:\Temp';TempPath:'c:\Temp'
I have 609Kb free in low memory.
The message I get is:
Need to swap but nothing swappable.
Out of memory.

Thanks for any tips.

Nick
 
Hi Nick,
About the only real good tip I can give you is to buy Blinker 6.0, you'll need it anyway.

So much for my expert advise!

According to the manual, you don't need the (R:) setting unless you are using the Summer 87 compiler, it is ignored by 5.x programs. (V:) is the same way but you are not using it so disregard this. (E:) is always set to zero in Summer 87, while not in 5.x. The default in 5.x is 8 MB, but as you are not using it, disregard this. However, you might want to look into this later--after the program runs.

Your Clipper command line requests 150 file handles (F:150)while your DOS configuration only allows 95 (files=95). The manual reads that a bug exists in this area and that the value should be an odd number. Perhaps 149, 253, or whatever for both.

The (Dynf) defaults to 2 and should be increased if you have Clipper internal errors (no numbers given).

RtLink sometimes needs a path to C:\TMP. I chased this around for awhile one day, add (;c:\tmp) to your SwapPath: var, and create a directory on your C-drive called "TMP". Also, check to make sure you have the "C:\TEMP" directory.

NOTE: If you are using Clipper 5.3, the SwapPath variable does not work. The SwapPath defaults to the location of the executable file.

One more thing, be sure to compile with the warning on (/W).

Personally, I'd go with the Blinker :)
Best Regards,
David Tracy
dba: Tall Clipper Ships
Clifton, Arizona 85533
tracys@vtc.net
 
Hello Nick,
Try this in your command line:

SET CLIPPER=//F:50 //E:2048 //SWAPK:4096 //DYNF:9 //INFO

It should work fine.

Regards.

Ariel.
 
Thank you, for the tips.

I noticed that my problem is when I execute the .rmk file.
In this file I include Clipper compile commands and a rtlink command to create the .exe file.
Compilation goes well, but RTLink returns the error:

---------------------------------------------------
VMData error evmd0018: Need to swap, but nothing is
swappable. Out of memory. Free more memory and retry.

Temporary swap file 'c:\temp\rt026825.swp' deleted.
---------------------------------------------------

After many tests, I've come to the conclusion that the problem is with the execution of 'DOS4GW.exe' called by RTLink when executed by a .rmk file.

Executing RTLink from a command prompt or in a simple .bat file worked as expected.

I'm putting aside my .rmk file by now and I will consider using Blinker.

Again, Thank you for the help.

Nick.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top