Language: ChineseGermanSpanishFrenchDutchItalianRussian
123 Flash Chat Forums

Go Back   TOPCMM Community > 123 Flash Chat Server Software > 123 Flash Chat Support

Closed Thread
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 01-14-2007, 05:45 PM
MAQ MAQ is offline
Junior Member
 
Join Date: Jan 2007
Posts: 2
Default problem to initial file "VM" 123flashchat 6.1

Greetings,

I need information on an error when trying to run chat: error in putty is:

¡° [~/public_html/123flashchat/server]# Error occurred during initialization of VM
Could not reserve enough space for object heap
¡±

who can help me?

thanks.
  #2 (permalink)  
Old 01-15-2007, 06:44 AM
Junior Member
 
Join Date: Nov 2006
Posts: 4
Default Re:problem to initial file "VM" 123flashchat 6.1

that's your system resource limit, you may use the command:

ulimit -a

you should get the result like that:

core file size (blocks, -c) 0
data seg size (kbytes, -d) unlimited
file size (blocks, -f) unlimited
pending signals (-i) 16382
max locked memory (kbytes, -l) 32
max memory size (kbytes, -m) unlimited
open files (-n) 1024
pipe size (512 bytes, -p) 8
POSIX message queues (bytes, -q) 819200
stack size (kbytes, -s) 8192
cpu time (seconds, -t) unlimited
max user processes (-u) 16382
virtual memory (kbytes, -v) unlimited
file locks (-x) unlimited

check your "max memory size" , 'virtual memory" , is that limited?

If that, you can start the chat server by the "root" account

su -
<enter root password>

If you're using a shared hosting, I think your host provider wont allow you to run the standalone java server on it, you may checkout 123flashchat hosting service here:
http://www.123flashchat.com/host.html
  #3 (permalink)  
Old 01-15-2007, 07:48 PM
MAQ MAQ is offline
Junior Member
 
Join Date: Jan 2007
Posts: 2
Default Re:problem to initial file "VM" 123flashchat 6.1

This one is all strange, that well, I have a server dedicated, and before worked for me to perfection, next I had to reinitiate the server and of this one has the problem from now on.
Even this one the problem, attempt manner root and nothing.
  #4 (permalink)  
Old 02-16-2007, 06:59 AM
Member
 
Join Date: Nov 2005
Posts: 70
Default Re:problem to initial file "VM" 123flashchat 6.1

This problem may caused by your server setting I think , please contact the support@123flashchat.com for further assistance with your purchase proof.
  #5 (permalink)  
Old 02-09-2009, 01:03 AM
Junior Member
 
Join Date: Feb 2009
Posts: 1
Default I have got the same error...

Hello,

today i looked at the demosite of this chat and i found it very imperessing, so i tried to install the trial version.

Here are some results:

Quote:
Error occurred during initialization of VM
Could not reserve enough space for object heap
Could not create the Java virtual machine.
In another thread i read, that i need 64 MB ram and 100 mb HD
My HD is about 8 GB and this is my current ram:

Quote:
free -m -t
total used free shared buffers cached
Mem: 3034 2946 88 0 110 612
-/+ buffers/cache: 2223 811
Swap: 8001 6 7994
Total: 11035 2952 8082
ulimit -a shows the following result:

Quote:
ulimit -a
core file size (blocks, -c) 0
data seg size (kbytes, -d) unlimited
file size (blocks, -f) unlimited
max locked memory (kbytes, -l) 32
max memory size (kbytes, -m) unlimited
open files (-n) 1024
pipe size (512 bytes, -p) 8
stack size (kbytes, -s) unlimited
cpu time (seconds, -t) unlimited
max user processes (-u) 24574
virtual memory (kbytes, -v) unlimited
So what can I do to get the server started?

Thank you for reading and (maybe) helping *g*
  #6 (permalink)  
Old 05-08-2009, 09:30 AM
Member
 
Join Date: Feb 2008
Posts: 85
Default

sugegstions:
The file descriptor limit can be increased using the following procedure:
1. Edit /etc/security/limits.conf and add the lines:
2. * soft nofile 1024
3. * hard nofile 65535
4. Edit /etc/pam.d/login, adding the line:
5. session required /lib/security/pam_limits.so
6. The system file descriptor limit is set in /proc/sys/fs/file-max. The following command will increase the limit to 65535:
7. echo 65535 > /proc/sys/fs/file-max
8. You should then be able to increase the file descriptor limits using:
9. ulimit -n unlimited
The above command will set the limits to the hard limit specified in /etc/security/limits.conf.
Note that you may need to log out and back in again before the changes take effect. \




3. Distribute memory more properly when starting chat server.if your 123flashchat server is installed on Linux/Unix server:

open your "fcserver.sh" file
find:
$JRE_HOME/bin/java -classpath $jre_lib:$ fcserver_lib com.topcmm.jchat.FCServer &
replace with:
$JRE_HOME/bin/java -Xms64m -Xmx512m -classpath $jre_lib:$ fcserver_lib com.topcmm.jchat.FCServer &
in fact, the added part is:
-Xms64m -Xmx512m between "java" and "-classpath".
You added 64M initial memory in that way, the maximum memory available reaches 512M. (If you need to configure like this, please make sure your server hardware is adequate for it.)
Note that you're required to restart chat server before the changes take effect.
Closed Thread

Was this information helpful?    Yes No



Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT. The time now is 02:38 PM.


Powered by vBulletin® Version 3.7.1
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.1.0 ©2007, Crawlability, Inc.