Error occurred during initialization of VM
Could not reserve enough space for object heap
Error: Could not create the Java Virtual Machine.
Error: A fatal exception has occurred. Program will exit.
#!/bin/bash
DBHOST=localhost
USER= cia esu irases savo username
PASS= cia esu irases savo pw
DBNAME= cia esu irases savo duomenu baze
err=1
until [ $err == 0 ];
do
#mysqlcheck -h $DBHOST -u $USER --password=$PASS -s -r $DBNAME>>"log/`date +%Y-%m-%d_%H:%M:%S`-sql_check.log"
#mysqldump -h $DBHOST -u $USER --password=$PASS $DBNAME|zip "backup/`date +%Y-%m-%d_%H:%M:%S`-l2jdb_gameserver.zip" -
[ -f log/java0.log.0 ] && mv log/java0.log.0 "log/`date +%Y-%m-%d_%H-%M-%S`_java.log"
[ -f log/stdout.log ] && mv log/stdout.log "log/`date +%Y-%m-%d_%H-%M-%S`_stdout.log"
[ -f log/chat.log ] && mv log/chat.log "log/`date +%Y-%m-%d_%H:%M:%S`-chat.log"
java -Dfile.encoding=UTF- -Xms512m -Xmx512m -cp lib/*:l2jfrozen-core.jar com.l2jfrozen.gameserver.GameServer > log/stdout.log 2>&1
err=$?
sleep 10
done
Gal 256 padaryt??
jau veikia paleidimas, bet
======================================================================-[ Team ]
# ##### ##### ##### ##### ##### ##### ## #
# # # # # # # # # # # #
# ### #### ### # # # # # ### # # #
# # # ### # # # # # # #
##### ##### # # ## ##### ##### ##### # ##
==================================================================-[ Database ]
MLog clients using java 1.4+ standard logging.
Initializing c3p0-0.9.1.2 [built 21-May-2007 15:04:56; debug? true; trace: 10]
Initializing c3p0 pool... com.mchange.v2.c3p0.ComboPooledDataSource [ acquireIncrement -> 5, acquireRetryAttempts -> 0, acquireRetryDelay -> 500, autoCommitOnClose -> true, automaticTestTable -> connection_test_table, breakAfterAcquireFailure -> false, checkoutTimeout -> 0, connectionCustomizerClassName -> null, connectionTesterClassName -> com.mchange.v2.c3p0.impl.DefaultConnectionTester, dataSourceName -> 1ff1ypk9hgg4sg31v6trx9|b1d87, debugUnreturnedConnectionStackTraces -> false, description -> null, driverClass -> com.mysql.jdbc.Driver, factoryClassLocation -> null, forceIgnoreUnresolvedTransactions -> false, identityToken -> 1ff1ypk9hgg4sg31v6trx9|b1d87, idleConnectionTestPeriod -> 3600, initialPoolSize -> 10, jdbcUrl -> jdbc:mysql://localhost/l2jdb, maxAdministrativeTaskTime -> 0, maxConnectionAge -> 0, maxIdleTime -> 0, maxIdleTimeExcessConnections -> 0, maxPoolSize -> 50, maxStatements -> 0, maxStatementsPerConnection -> 100, minPoolSize -> 10, numHelperThreads -> 3, numThreadsAwaitingCheckoutDefaultUser -> 0, preferredTestQuery -> null, properties -> {user=******, password=******}, propertyCycle -> 0, testConnectionOnCheckin -> false, testConnectionOnCheckout -> false, unreturnedConnectionTimeout -> 0, usesTraditionalReflectiveProxies -> false ]
L2DatabaseFactory: loaded.
===================================================================-[ Threads ]
Cache[HTML]: Running lazy cache
Cache[Crest]: 0.000MB on 0 files loaded. (Forget Time: 300s , Capacity: 50)
Initializing Script Engine Manager
Script Engine: BeanShell Engine 1.1 - Language: BeanShell - Language Version: 2.0b5
Script Engine: jython 2.2.1 - Language: python - Language Version: 2.2.1
Script Engine: Rhino Rhino 1.7 release 3 2012 02 13 - Language: ECMAScript - Language Version: 1.7
Script Engine: java 1.6 - Language: java - Language Version: 1.6
=====================================================================-[ World ]
L2World: Setting up World Regions
L2World: (87x128) World Region Grid set up.
Announcements: Loaded 4 Announcements.
GameServer: Loaded 0 Auto Announcements.
Updated characters online status.
IDFactory: 102912 id's available.
StaticObject: Loaded 30 StaticObject Templates.
Experiencedata: Loaded 87 levels
Experiencedata: Max Player Level is: 80
Experiencedata: Max Pet Level is: 80
Initializing DuelManager
Loaded 31 classes Damages configurations
Initializing AutoSaveManager
====================================================================-[ Skills ]
#
# There is insufficient memory for the Java Runtime Environment to continue.
# Native memory allocation (malloc) failed to allocate 1525616 bytes for Chunk::new
# An error report file with more information is saved as:
# /root/gameserver/hs_err_pid7214.log
Paskutinį kartą redagavo: 10 Birželio 2016 - 20:07