csh script crashes with out of memory in 64bit environment

Solution Unverified - Updated -

Issue

  • A csh script crashes with out of memory in 64bit environment.
    csh current memory allocation:
    free: 0 126 8 24 12 7 1 1 0 1 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
    used: 0 2 120 232 52 17 3 3 3 0 1 1 1 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
    Total in use: 97824, total free: 12768
    Allocated memory from 0xd17000 to 0xffffffffffffffff. Real top at 0xd32000
    nbytes=1296: Out of memory
    
  • The sript is called by 32bit appication like the bellow.
    bash(64bit) -> my_application(32bit) -> my_csh_script.csh(64bit)
    

Environment

  • Red Hat Enterprise Linux 6 for x86_64
  • tcsh

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.

Current Customers and Partners

Log in for full access

Log In