1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

TCC Out of memory with aliases and functions

Discussion in 'Support' started by jbutare, Oct 30, 2009.

  1. jbutare

    Joined:
    Nov 8, 2008
    Messages:
    13
    Likes Received:
    0
    Hi,

    This is a minor issue that I only see on x64 Take Command. I am currently running TCC 11.00.30 x64 on Windows 7. I have several aliases and user defined functions but still have plenty of free alias and function memory. If a function or alias is already defined, and I redefine it, I will receive an "out of alias memory" or "out of function memory". If I unalias or unfunction the function, I can then define it without error. I have only seen this x64 TC, and was running x86 and x64 TC side by side for a few days. If easy fix great, otherwise I will make sure I undefine first.

    John
     
  2. rconn

    rconn Administrator
    Staff Member

    Joined:
    May 14, 2008
    Messages:
    9,854
    Likes Received:
    83
    Are you using local or global alias & function lists?
     
  3. rconn

    rconn Administrator
    Staff Member

    Joined:
    May 14, 2008
    Messages:
    9,854
    Likes Received:
    83
    I'm unable to reproduce this (either with local or global lists).

    Can you give me an example that fails for you (either a series of command line entries or a small batch file)?
     
  4. jbutare

    Joined:
    Nov 8, 2008
    Messages:
    13
    Likes Received:
    0
    I was able to boil it down further, key is x64 and first loading the alias from a file:

    * Define an alias in a file, such as alias.tc
    AliasTest dir /p
    * Load aliases
    alias /r alias.tc
    *Redefine alias at the command prompt
    alias AliasTest=dir
    *Receive error message
    TCC: Out of alias space

    * I am using global aliases - I don’t specify to use local aliases in configuration or switches
    * Does not reproduce under x86 Take Command
    * After following the above steps, switching to local list then trying to redefine causes gpf (though I don't fully understand alias /l, x86 tc does not gpt in this case)

    Alias /l
    Alias AliasTest=dir
     
  5. rconn

    rconn Administrator
    Staff Member

    Joined:
    May 14, 2008
    Messages:
    9,854
    Likes Received:
    83
    Fixed in build 32 (uploaded a few minutes ago).

    Rex Conn
    JP Software
     
  6. jbutare

    Joined:
    Nov 8, 2008
    Messages:
    13
    Likes Received:
    0
    Confirmed fixed, thanks!
     

Share This Page