Silverfrost Forums

Welcome to our forums

using slink 3gb

13 May 2008 7:40 #3178

Paul,

Finally, I now have a new pc with 4gb of memory and would like to test the slink 3gb switch, with 3gb of physical memory available. I think I have now mastered the /3gb switch in boot.ini and am now ready to write a program that can make use of the extra adressable memory. Do you have a coding example and associated slink commands which demonstrate the use of more than 2gb of addressible memory?

regards John

19 May 2008 11:28 #3216

Now that you have /3GB in your boot.ini, you will get 3GB of memory from SLINK automatically provided that you are not using one of the debugging options (your SLINK version number must not be too old).

You can force 3GB by using a 3GB command in SLINK.

21 May 2008 2:12 #3230

Paul,

Thanks for your reply. Unfortunately, I have tried this but am unable to get an operating version of my test program attempts, due to 2 main problems.

  1. I don't appear able to define more than 2gb of arrays ( in either common, vc or modules) and produce a .exe which is acceptable to cmd.exe
  2. I don't appear to create a .exe that works and provides more than about 1.7gb of array storage. ( I then get stack overflow errors which are difficult to correct)

My past test examples all have a very small code component but even my larger programs don't have more than about 0.1gb of code. If the array/data component is limited to less than 2.0gb, I am unlikely to be able to use more than about 2.1gb of memory, if this is the case.

Hence my request for an example which overcomes either of these problems, as I am not correctly combining my code and slink in an effective manner.

Can you (or anyone else) help with a working example ?

regards John

PS. I did also try the use of VC, which (I think I recall) placed the offset address for the start of VC at about 1gb. To use more memory, the VC address needed to be moved, but again I could not see a way of achieving this. If the 3gb switch is used, SLINK should automatically do this. VC also suffered from stack overflow, which again I could not correct.

21 May 2008 8:09 #3233

It may be that 1.7GB is the most that you can get at the moment. We are currently working on this issue with the aim of maximising what you can get. If you use the /3GB switch in your boot.ini then you should get more memory but at the moment not as much as we would like or expect.

Please login to reply.