Unless you're using quotas or some other opensolaris feature to limit
individual process heap space, the easiest way to increase the heap
space available to a process is to either increase the amount of
physical memory or enlarge the swap file. For example:
mkfile 2000m /new_swap {I'll take 2 Gigabytes please}
swap -a /new_swap {add it to my swap space}
If its a Java program (eclipse or something you built from eclipse) you
can increase the amount of heap space allocated to the JVM with a java
command line option. But that's not an opensolaris specific question or
answer, take a look at this thread in the java forum:
http://forum.java.sun.com/thread.jspa?threadID=729207&messageID=4198530
Vikrant Kumar Choudhary wrote:
Sorry, if i made something unclear.
Today i ran a program and got the following error.
Out of memory!01:07:12, 261421 orders
In general sense, if we get some memory problem, we simple increase its heap size, This is how i tackle eclipse to run big program.
Machine we are useing SX86 and we did logical partition of 1GB memory size. My
program is using a bufferstorage. Which i have the feeling that it will not go
out more that 700MB .
This message posted from opensolaris.org
_______________________________________________
opensolaris-discuss mailing list
opensolaris-discuss@opensolaris.org
_______________________________________________
opensolaris-discuss mailing list
opensolaris-discuss@opensolaris.org