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 DEBIAN
jocamlrun
JOCAMLRUN(1) General Commands Manual JOCAMLRUN(1)
NAME
jocamlrun - The JoCaml bytecode interpreter
SYNOPSIS
jocamlrun [ -v ] filename argument ...
DESCRIPTION
The jocamlrun(1) command executes bytecode files produced by the linking phase of the jocamlc(1) command.
The first non-option argument is taken to be the name of the file containing the executable bytecode. (That file is searched in the exe-
cutable path as well as in the current directory.) The remaining arguments are passed to the Objective Caml program, in the string array
Sys.argv. Element 0 of this array is the name of the bytecode executable file; elements 1 to n are the remaining arguments.
In most cases, the bytecode executable files produced by the jocamlc(1) command are self-executable, and manage to launch the jocamlrun(1)
command on themselves automatically.
OPTIONS
The following command-line option is recognized by jocamlrun(1).
-v When set, the memory manager prints verbose messages on standard error to signal garbage collections and heap extensions.
ENVIRONMENT VARIABLES
The following environment variable are also consulted:
OCAMLRUNPARAM
Set the garbage collection parameters. (If OCAMLRUNPARAM is not set, CAMLRUNPARAM will be used instead.) This variable must be a
sequence of parameter specifications. A parameter specification is an option letter followed by an = sign, a decimal number, and an
optional multiplier. There are seven options:
b (backtrace)
Print a stack backtrace in case of an uncaught exception.
s (minor_heap_size)
Size of the minor heap.
i (major_heap_increment)
Minimum size increment for the major heap.
o (space_overhead)
The major GC speed setting.
O (max_overhead)
The heap compaction trigger setting.
l (stack_limit)
The limit (in words) of the stack size.
h The initial size of the major heap (in words).
v (verbose)
What GC messages to print to stderr. This is a sum of values selected from the following:
1 Start of major GC cycle.
2 Minor collection and major GC slice.
4 Growing and shrinking of the heap.
8 Resizing of stacks and memory manager tables.
16 Heap compaction.
32 Change of GC parameters.
64 Computation of major GC slice size.
128 Calling of finalisation function.
256 Startup messages.
The multiplier is k , M , or G , for multiplication by 2^10, 2^20, and 2^30 respectively. For example, on a 32-bit machine under
bash, the command export OCAMLRUNPARAM='s=256k,v=1' tells a subsequent jocamlrun to set its initial minor heap size to 1 megabyte
and to print a message at the start of each major GC cycle.
PATH List of directories searched to find the bytecode executable file.
SEE ALSO
jocamlc(1).
The Objective Caml user's manual, chapter "Runtime system".
JOCAMLRUN(1)