CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 3 of 3
  1. #1
    Join Date
    Oct 2002
    Posts
    9

    Program Does not fit in the memory error generated by DOS Makefile

    Hello Friend,

    I am trying to run a makefile in DOS. It is a normal makefile that generates a executable after assembling, compiling and linking. It is giving a error while compiling the second file of source code after compiling the first file successfully saying "program too big to fit in the memory". I compiled the second file in the list individually and it compiled properly. Also I changed the second file by replacing it with some other file in the same folder but still it gives the same error.

    In short it only compiles the first file and gives error for the second in that folder. The same error is also given by the assembler.

    I am attaching the problematic makefile file with this mail.

    Can you please help me out with this.

    Thanks & Regards
    Swaleh

  2. #2
    Join Date
    Sep 2002
    Posts
    1,747

    If you're in dos...

    You'll have to manage with 640k memory... Some extenders increase this, so it really depends on which DOS version you're using and what extenders if any you have installed. But I never think there is something weird with an out of memory notification on my old DOS machines unless I coded the code. If you can give some code sizes you are trying to compile, maybe we can tell you if your message is to be expected, but remember, compiling is always a memory intensive ordeal (you have to hold certain parsong structures until you can save some object files...etc...).

  3. #3
    Join Date
    Oct 2002
    Posts
    9
    Hi galathaea,

    The size of the files I am trying to compile are between 10K to 12K and the total size of the entire folder containing the source code is 27.4 MB.

    Also the machine on which we are trying to run the make file is windows NT workstation 4.0 with DOS version is 6.2

    Please let me know if you have any idea on this.

    rgds
    Swaleh

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  





Click Here to Expand Forum to Full Width

Featured