title: AIX: piping the application command output to more results in malloc failure in application
body: <p>I have a command line application, which executed on shell will list the output reading from the database. And it gets this information in chunks for which memory allocation and free is being done.
  When I execute the command (Whose output will span around 6000 pages) it is listing the data correctly.
  But (only in AIX) when I issue the 'command | more' after displaying random number of pages, memory allocation in the application that is getting the data in chunks is failing.
  (Where as the same command implementation with more is working fine in linux for the same data).
  Any idea why in AIX it is failing? Anybody know about the memory allocation criteria in AIX? why piping the output to more command causes memory allocation failure in application?</p>