Go Back   The UNIX and Linux Forums > Top Forums > Shell Programming and Scripting
google site



Shell Programming and Scripting Post questions about KSH, CSH, SH, BASH, PERL, PHP, SED, AWK and OTHER shell scripts and shell scripting languages here.

Reply
English Japanese Spanish French German Portuguese Italian Powered by Powered by Google
 
Thread Tools Search this Thread Display Modes
  #1  
Old 02-09-2010
Registered User
 

Join Date: Feb 2010
Posts: 4
Thanks: 0
Thanked 0 Times in 0 Posts
xrealloc: cannot reallocate (23523666) bytes

Hi,
I have a lengthy shell script and when I try to run it, It takes a lot of time and for about 25-30 mins and outputs this message xrealloc: cannot reallocate (23523666) bytes (0 bytes allocated). Along with this it is also displaying two other error messages. One is it is saying the (function name) command not found, even when I have the function defined with the same name. The other one says (file name) ambiguous redirect.

Thanks for your help,
Nagin.
Sponsored Links
  #2  
Old 02-09-2010
Registered User
 

Join Date: Mar 2008
Posts: 2,204
Thanks: 5
Thanked 40 Times in 39 Posts
Operating System?
Shell?
Command (or cron) used to invoke the script?
Content of the script?
Exact error messages as displayed on the screen or in (which?) error log?
  #3  
Old 02-09-2010
Registered User
 

Join Date: Feb 2010
Posts: 4
Thanks: 0
Thanked 0 Times in 0 Posts
Quote:
Originally Posted by methyl View Post
Operating System?
The OS is 2.4.21-51.ELhugemem

Quote:
Shell?
/bin/zsh

Quote:
Command (or cron) used to invoke the script?
I am just kicking off the scripting at the prompt by passing parameters manually.

Quote:
Content of the script?
I have a few functions defined on top of the script, some of these functions have sqlplus calls to the database and at the bottom I am calling those scripts

Quote:
Exact error messages as displayed on the screen or in (which?) error log?
xrealloc: cannot reallocate 2514719488 bytes (0 bytes allocated)
Function 1: command not found
Function 2: command not found
${FILE_NAME}: ambiguous redirect
Function 3: command not found
Function 4: command not found
Function 5: command not found
  #4  
Old 02-09-2010
Registered User
 

Join Date: Mar 2008
Posts: 2,204
Thanks: 5
Thanked 40 Times in 39 Posts
Not possible for me to diagnose this problem based on the information given. This is Linux not unix.
Sponsored Links
Reply

Bookmarks

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
Files with zero bytes preethgideon UNIX for Dummies Questions & Answers 1 04-24-2009 05:22 PM
80 bytes per line ??? u263066 Shell Programming and Scripting 14 09-18-2008 10:20 AM
Remove first N bytes and last N bytes from a binary file on AIX. naveendronavall Shell Programming and Scripting 1 05-24-2008 11:06 AM
retrieving files which has more than 0 bytes sri2005 UNIX for Dummies Questions & Answers 4 04-29-2008 10:22 AM
awk: seeking to bytes karyn1617 Shell Programming and Scripting 8 02-07-2005 10:51 PM



All times are GMT -4. The time now is 07:39 AM.