Subj : Re: Fatal: Exceeded memory limit for block Line number cache To : borland.public.cpp.borlandcpp From : Jogy Date : Tue Apr 06 2004 02:37 pm Parvathy wrote: > For my application I have to build the code for Unicode. > I have generated the make file. > But when I try to build it in the command prompt I get the error: > MAKE Version 5.0 Copyright (c) 1987, 1997 Borland International > Ilink32 @MAKE0003.@@@ > Turbo Incremental Link Version 1.0 Copyright (c) 1997 Borland International > Fatal: Exceeded memory limit for block Line number cache in module ..\source\rep > field.cpp > > ** error 2 ** deleting repbase.dll > > Borland Version: 5.02 > > Can someone help me? > > Thanks > Hello, If you use tlink32 instead of ilink32, you can increase some of the linker limits in a file named tlink32.ini Here are the contents of my file: [debugTableSizes] _LINEBUFFERSIZE=0x60 _SRCFILEMGRSIZE=0x100 _SSDSIZE=0xc _TYPESCACHESIZE=0x400 _SYMCACHESIZE=0x100 _NAMESCACHESIZE=0x100 _BROWSERCACHESIZE=0x200 _CV4MODALLOCSIZE=0x100 _LOCALCACHESIZE=0x20 _NAMEALIASSIZE=0x80 _SYMSTACKSIZE=0x3 _TYPEHASHTABLESIZE=0x800 _TYPEALIASSIZE=0x20 [linkerTableSizes] _SYMBOLTABLESIZE=0x800 _MODULETABLESIZE=0x400 _SEGDEFTABLESIZE=0x400 _LSEGTABLESIZE=0x400 _PHYSSEGTABLESIZE=0x400 _EXTDEFTABLESIZE=0x400 _PUBDEFTABLESIZE=0x400 _IMPORTTABLESIZE=0x400 _EXPORTTABLESIZE=0x400 _INSTANCETABLESIZE=0x400 _LXDATATABLESIZE=0x800 _FIXUPPTABLESIZE=0x2000 _ENTRYTABLESIZE=0x400 _GROUPSTABLESIZE=0x40 Other things to try: The incremental linker which comes with BC5.02 is quite buggy, replace it with the one from the free command-line tools BCC5.5 Turn off debug information for the .cpp which gives the error, or try to split it to several smaller .cpps Jogy .