05-09-2002
heap size for JVM!
Hi all,
Thanks 'thehoghunter' and 'hugo' for the comments!
I've to increase the size of the heap size for AIX 4.3.3. Now what's the command that I've and also is it something similar to growing the file system in Solaris (growfs)
10 More Discussions You Might Find Interesting
1. Filesystems, Disks and Memory
I'm a new guy to this field and I'm learning a lot about UNIX! Can any explan to me what exactly does 'heap size' mean and how can i increase the size for AIX 4.3.3? (2 Replies)
Discussion started by: i2admin
2 Replies
2. UNIX for Advanced & Expert Users
I'm running websphere 4.5 on AIX 5 with java 1.3 and would like to find out the following: How much memory is allocated to each JVM, and how much of the allocated heap size is actually being used by a specific JVM? (0 Replies)
Discussion started by: rein
0 Replies
3. Shell Programming and Scripting
Hello,
has anyone written something that will monitor/gather weblogic heap info ? I need to gather size, high/low stats to a file that I can upload to a speadsheet
thanks for your help! (2 Replies)
Discussion started by: galenw
2 Replies
4. Programming
Hi,
I have a basic doubt here.
Consider the following code snippet:
main()
{
int *a;
.
.
}
Here the memory for a gets allocated in heap or stack. (5 Replies)
Discussion started by: naan
5 Replies
5. Shell Programming and Scripting
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... (2 Replies)
Discussion started by: Anji
2 Replies
6. HP-UX
The Resident size(as observed from top) of my process is increasing. But, the behaviour is very random. My process works on request reponse model. So when i put some request load on my process the memory starts increasing. For initial few hours (approx ~3 hrs) it increase at a rapid rate and after... (1 Reply)
Discussion started by: atgoel
1 Replies
7. HP-UX
Hi All,
We are facing issues on HPUX with the C heap region growing. We use a product for CRM by name ClarifyCRM and it uses a native layer for DB access. so there are best practices in place to actual control memory. recently we have seen issues that the C heap region is growing faster than... (0 Replies)
Discussion started by: ramchand75
0 Replies
8. UNIX for Dummies Questions & Answers
Hi
I have one Java application installed in my Solaris system. Is there a way to find out the heap memory allocated size/used size/free size for the particular Java process?
If anyone knows the command, please let me know. Even I appreciate if I have any scripts to find out the same.
... (0 Replies)
Discussion started by: nthiruvenkatam
0 Replies
9. Programming
I want to find the size of the total memory allocated on the heap for the following statement:
int* a = new int;How can I use the sizeof operator for this?
I used:
printf("\t===> %d\n",sizeof(*a));
Is this statement correct?
I have asked the question because when I checked the memory of... (13 Replies)
Discussion started by: rupeshkp728
13 Replies
10. Solaris
Hi,
I have solaris 10 (sparc) operating system machine on which I have installed supported weblogic 10.3. It was installed properly. As we know weblogic uses jvm to run and uses a part of jvm memory.
But I am facing one problem in which JVM is getting crashed again and again resulting my... (2 Replies)
Discussion started by: neeraj.tati
2 Replies
LEARN ABOUT FREEBSD
growfs
GROWFS(8) BSD System Manager's Manual GROWFS(8)
NAME
growfs -- expand an existing UFS file system
SYNOPSIS
growfs [-Ny] [-s size] special | filesystem
DESCRIPTION
The growfs utility makes it possible to expand an UFS file system. Before running growfs the partition or slice containing the file system
must be extended using gpart(8). If you are using volumes you must enlarge them by using gvinum(8). The growfs utility extends the size of
the file system on the specified special file. The following options are available:
-N ``Test mode''. Causes the new file system parameters to be printed out without actually enlarging the file system.
-y ``Expert mode''. Usually growfs will ask you if you took a backup of your data before and will do some tests whether special is cur-
rently mounted or whether there are any active snapshots on the file system specified. This will be suppressed. So use this option
with great care!
-s size
Determines the size of the file system after enlarging in sectors. Size is the number of 512 byte sectors unless suffixed with a b,
k, m, g, or t which denotes byte, kilobyte, megabyte, gigabyte and terabyte respectively. This value defaults to the size of the raw
partition specified in special (in other words, growfs will enlarge the file system to the size of the entire partition).
EXAMPLES
Expand root file system to fill up available space:
growfs /
Resize /dev/ada0p1 partition to 2GB and expand the file system:
gpart resize -i 1 -s 2G ada0
growfs -s 2G /dev/ada0p1
SEE ALSO
dumpfs(8), ffsinfo(8), fsck(8), fsdb(8), gpart(8), newfs(8), tunefs(8)
HISTORY
The growfs utility first appeared in FreeBSD 4.4. The ability to resize mounted file systems was added in FreeBSD 10.0.
AUTHORS
Christoph Herrmann <chm@FreeBSD.org>
Thomas-Henning von Kamptz <tomsoft@FreeBSD.org>
The GROWFS team <growfs@Tomsoft.COM>
Edward Tomasz Napierala <trasz@FreeBSD.org>
CAVEATS
When expanding a file system mounted read-write, any writes to that file system will be temporarily suspended until the expansion is fin-
ished.
BUGS
Normally growfs writes cylinder group summary to disk and reads it again later for doing more updates. This read operation will provide
unexpected data when using -N. Therefore, this part cannot really be simulated and will be skipped in test mode.
BSD
November 20, 2014 BSD