The UNIX and Linux Forums  

Go Back   The UNIX and Linux Forums > Top Forums > Shell Programming and Scripting
Google UNIX.COM


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

More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
script to gather weblogic jvm heap size stats galenw Shell Programming and Scripting 2 02-07-2008 09:34 AM
finding duplicate files by size and finding pattern matching and its count jerome Sukumar Shell Programming and Scripting 2 12-01-2006 12:20 AM
monitor jvm heap size rein UNIX for Advanced & Expert Users 0 07-21-2005 05:29 AM
heap size for JVM! i2admin Filesystems, Disks and Memory 1 05-09-2002 06:09 AM
heap size! i2admin Filesystems, Disks and Memory 2 05-08-2002 07:20 AM

Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 03-05-2008
Registered User
 

Join Date: Jan 2008
Posts: 21
Finding Heap size Command--Urgent

Hi Friends,
i need a unix command to check the heap space availability on unix system as I am getting following error:

Error occurred during initialization of VM
Could not reserve enough space for object heap
Error occurred during initialization of VM
Could not reserve enough space for object heap
Reply With Quote
Forum Sponsor
  #2 (permalink)  
Old 03-05-2008
Moderator
 

Join Date: Dec 2003
Location: /ksh93
Posts: 863
What UNIX system are you on?
Reply With Quote
  #3 (permalink)  
Old 05-16-2008
Registered User
 

Join Date: May 2008
Posts: 1
use free -m and/or brk

Hi,

You can get the system memory available by the command:

#free -m

Also if you want to know the memory available to any particular process, you can use Zero increment to the sbrk() system call. Check the man page for usage...

Happy programming...

Srini

Installers for Linux operating system
Reply With Quote
Google UNIX.COM
Reply

Thread Tools
Display Modes




All times are GMT -7. The time now is 08:58 AM.


Powered by: vBulletin, Copyright ©2000 - 2006, Jelsoft Enterprises Limited.
The UNIX and Linux Forums Content Copyright ©1993-2008 The CEP Blog All Rights Reserved -Ad Management by RedTyger Visit The Global Fact Book

Content Relevant URLs by vBSEO 3.2.0