|
|||
|
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. |
|
|||
|
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 |
|
|||
|
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. |
|
|||
|
This problem may caused by your server setting I think , please contact the support@123flashchat.com for further assistance with your purchase proof.
|
|
|||
|
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:
My HD is about 8 GB and this is my current ram: Quote:
Quote:
Thank you for reading and (maybe) helping *g* |
|
|||
|
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. |
![]() |
Was this information helpful? Yes No
| Thread Tools | |
| Display Modes | |
|
|