The UNIX and Linux Forums  
Hello and Welcome from United States to the UNIX and Linux Forums! Thank You for Visiting and Joining Our Global Community.

Go Back   The UNIX and Linux Forums > Top Forums > UNIX for Advanced & Expert Users
.
google unix.com



UNIX for Advanced & Expert Users Expert-to-Expert. Learn advanced UNIX, UNIX commands, Linux, Operating Systems, System Administration, Programming, Shell, Shell Scripts, Solaris, Linux, HP-UX, AIX, OS X, BSD.

More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
Issue with insufficient swap or memory space kavithakuttyk Shell Programming and Scripting 2 09-24-2009 03:59 AM
sar : insufficient address space to load xxxx device records nimi20 SUN Solaris 2 04-01-2009 07:35 PM
insufficient available memory big123456 UNIX for Advanced & Expert Users 8 08-12-2008 03:45 AM
swap space (lvol2) is not using when physical memory is 98% used rajeshtt32 HP-UX 1 01-06-2008 11:05 AM
swap space / paging space aaronh AIX 2 05-19-2004 10:06 AM

Reply
English Japanese Spanish French German Portuguese Italian Dutch Swedish Russian Norwegian Hungarian Hebrew Danish Powered by Powered by Google
 
LinkBack Thread Tools Search this Thread Rate Thread Display Modes
  #1 (permalink)  
Old 09-24-2009
kavithakuttyk kavithakuttyk is offline
Registered User
  
 

Join Date: Apr 2009
Posts: 16
Issue with insufficient swap or memory space

Hi,
When I execute one of my shellscript I am getting the below mentioned error message .This application takes 2input files which have the records counts 26463 and 1178046
exec(2): insufficient swap or memory available.
exec(2): insufficient swap or memory available.
exec(2): insufficient swap or memory available.
exec(2): insufficient swap or memory available.
exec(2): insufficient swap or memory available.
exec(2): insufficient swap or memory available.
exec(2): insufficient swap or memory available.
exec(2): insufficient swap or memory available.
I have zipped most of the files in my directory.If anybody knows how to resolve this issue please help me.

Thanks
  #2 (permalink)  
Old 09-24-2009
Shazin Shazin is offline
Registered User
  
 

Join Date: Jul 2009
Location: Gurgaon, India
Posts: 77
Hi,

Please can you provide the output for df -kh output for the Server.

Cheers.
  #3 (permalink)  
Old 09-24-2009
methyl methyl is offline
Registered User
  
 

Join Date: Mar 2008
Posts: 1,163
Please post the name and version of your Operating System, your preferred shell ... and the script itself.
  #4 (permalink)  
Old 09-25-2009
Corona688 Corona688 is offline
Registered User
  
 

Join Date: Aug 2005
Location: Saskatchewan
Posts: 1,929
Quote:
Originally Posted by kavithakuttyk View Post
I have zipped most of the files in my directory.If anybody knows how to resolve this issue please help me.
It shouldn't have anything to do with how many files you have, it's complaining about RAM. Either this script is incorrectly demanding impossibly huge amounts of memory for some reason, or the error means exactly what it says -- out of swap, or memory.
Reply

Bookmarks

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes Rate This Thread
Rate This Thread:

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 On




All times are GMT -4. The time now is 08:52 PM.


Powered by: vBulletin, Copyright ©2000 - 2006, Jelsoft Enterprises Limited. Language Translations Powered by .
vBCredits v1.4 Copyright ©2007 - 2008, PixelFX Studios
The UNIX and Linux Forums Content Copyright ©1993-2009. All Rights Reserved.Ad Management by RedTyger

Content Relevant URLs by vBSEO 3.2.0