Urgent: Install SFS on Linux Root Server: OutOfMemoryError

Need help with SmartFoxServer? You didn't find an answer in our documentation? Please, post your questions here!

Moderators: Lapo, Bax

Post Reply
Jipii
Posts: 72
Joined: 18 Aug 2008, 08:53
Location: Frankfurt, Germany

Urgent: Install SFS on Linux Root Server: OutOfMemoryError

Post by Jipii »

Hi,

I just try to install SFS on a big root server. First I got was "Could not reserve enough space for object heap. Could not create the Java virtual machine.", so as written in this forum, I set up the memory for installer ("./jre/bin/java -Xmx64m -jar installer.jar"). Now there is every time the same error on startng installation:
root@server1 [/home/fox/SmartFoxServer_PRO_1.6.6]# ./install
#
# An unexpected error has been detected by Java Runtime Environment:
#
# java.lang.OutOfMemoryError: pthread_getattr_np
#
# Internal Error (os_linux_x86.cpp:666), pid=32365, tid=140642232387328
# Error: pthread_getattr_np
#
# Java VM: Java HotSpot(TM) 64-Bit Server VM (11.0-b16 mixed mode linux-amd64)
# An error report file with more information is saved as:
# /home/fox/SmartFoxServer_PRO_1.6.6/hs_err_pid32365.log
pure virtual method called
./install: line 1: 32365 Aborted ./jre/bin/java -Xmx64m -jar installer.jar
I also tested it with higher values like Xmx128m, Xmx256m and so on but with no success.
What's wrong? :(
User avatar
rjgtav
Posts: 2813
Joined: 19 Apr 2009, 11:31
Location: Lisbon, Portugal

Re: Urgent: Install SFS on Linux Root Server: OutOfMemoryErr

Post by rjgtav »

Hi.
What Linux based OS are you using?
Have you tried updating the JVM to the latest stable release available?

Google told me that these links may be useful for you:
https://forums.oracle.com/forums/thread ... ID=1237753
https://bugzilla.redhat.com/show_bug.cgi?id=510344
Skills: SFS Pro, SFS2X, AS2.0/AS3.0, Java, HTML5/CSS3/JS, C#
Portfolio: https://rjgtav.wordpress.com/
SFS Tutorials: http://sfs-tutor.blogspot.com/ - Discontinued. Some examples may be bugged.
User avatar
Lapo
Site Admin
Posts: 23438
Joined: 21 Mar 2005, 09:50
Location: Italy

Re: Urgent: Install SFS on Linux Root Server: OutOfMemoryErr

Post by Lapo »

Check your the free physical memory of the server, evidently you are running short of RAM
Lapo
--
gotoAndPlay()
...addicted to flash games
Post Reply