This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

C51 COMPILER V4.01

Hi All,
'am new to C51 compilier and I got this error message which I would like anybody familiar with C51 to help me out with a good suggestion on how to solve it:

C51 FATAL-ERROR-
ACTION: ALLOCATING MEMORY
ERROR: MEMORY SPACE EXHAUSTED
C51 TERMINATED
Compilation Failure

Thanks for your anticipated help.

Yemi

Parents
  • I am having problem linking my program
    with the 'out-of-date' version 4.01 of C51/L51. The program needs page swapping
    and I have successfully compiled and
    linked the program with 2 CODE pages.

    Now when I add more code and functions
    I get this problem. See the log below

    Anyone that can help me?

    Regards
    Ken
    --------------

    Application size= 46736 : exceeds one page size => page swapping is needed
    Allocating space for absolute segments ...
    Total absolute segments size =33
    Allocating space for duplicated segments ...
    Total duplicated segments size =8215
    Allocating space for other segments ...
    LINKER ERROR 0271 Segment connot be allocated: SEGMENT=?CO?CODE MODULE=CODE
    LINKER FAILURE :1 error(s) 0 warning(s)

Reply
  • I am having problem linking my program
    with the 'out-of-date' version 4.01 of C51/L51. The program needs page swapping
    and I have successfully compiled and
    linked the program with 2 CODE pages.

    Now when I add more code and functions
    I get this problem. See the log below

    Anyone that can help me?

    Regards
    Ken
    --------------

    Application size= 46736 : exceeds one page size => page swapping is needed
    Allocating space for absolute segments ...
    Total absolute segments size =33
    Allocating space for duplicated segments ...
    Total duplicated segments size =8215
    Allocating space for other segments ...
    LINKER ERROR 0271 Segment connot be allocated: SEGMENT=?CO?CODE MODULE=CODE
    LINKER FAILURE :1 error(s) 0 warning(s)

Children