Hey,
I've added
JAVA_HOME=/usr/java/jdk1.5.0_10
export JAVA_HOME
PHOENIX_JVM_OPTS="-Xmx1024m -Xms512m "
export PHOENIX_JVM_OPTS
to the pheonix.sh and restarted the application, however the process
seems to have crashed again with the same error
Exception in thread "CompilerThread0" java.lang.OutOfMemoryError:
requested 134217736 bytes for Chunk::new. Out of swap space?
Looking at the amount of swap
[EMAIL PROTECTED] temp]$ /sbin/swapon -s
Filename Type Size
Used Priority
/dev/sdb3 partition 1020116
53736 -1
/dev/sda3 partition 1020116
0 -2
I am not sure if that's enough?
Any ideas?
SG
On 23 Mar 2007, at 13:15, Danny Angus wrote:
On 3/23/07, SeaGizmo <[EMAIL PROTECTED]> wrote:
requested 134217736 bytes for Chunk
is ~ 128m, and it lookslike the hotspot optimiser is asking for that
to compile its optimisations.
I am have started phoenix without any special JMV_OPTS. Can anyone
recommend any?
try -Xmx1024m -Xms512m as a starting point, (assuming 1G is
available) see also:
http://forum.java.sun.com/thread.jspa?
threadID=777221&messageID=4430640
Memory and performance is a complex subject, but the first rule you
need to know is that Java performs significantly *badly* when its
memory is swapped out to disk, so (assuming linux here) make sure that
your running server isn't using any swap space.
d.
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]