Code: java.lang.OutOfMemoryError: Java heap space you don't have enough RAM try run with less or put more in you're server. you can run it with less RAM by editing you batch file:
The hosting PC has 2GB ram dedicated and an extra 2GB ram. The server is no more than 300MB Anything else I can do? Plus it worked fine b4. It happened after I got the new RB EDIT by Moderator: merged posts, please use the edit button instead of double posting.
That means there is something wrong with the RB I think.. You should mail a developer about it. but still the error means there isn't enough memory Zip
What is the command you are using to start you server? Also, try without your plugins, chances are one of them is the culprit.
What'd you mean "Command" Btw I tried without my plugins and without my Worlds. That's not the problem.
He means the command to start your server, something like Code: java -Xmx1024M -Xms1024M -jar <CB version>.jar
I just open my batch file with Code: @ECHO OFF SET BINDIR=%~dp0 CD /D "%BINDIR%" "%ProgramFiles%\Java\jre6\bin\java.exe" -Xincgc -Xmx1G -jar craftbukkit-1.0.1-R2.jar PAUSE
Yes, however, his host has 2GB RAM dedicated. I'd try -Xmx1536M first, see if that helps. Also, check your plugins, one of them may be using up all your RAM.
My serve isn't crashing straight away. But it never does I. Will leave it on for an hour or so. Could you please check it put it usually bugs a 5 players. Talk to GubertrolololxD he hosts it. Modernmc.ntdll.net He is a bit of a noob Btw he definitely has 2000MB dedicated. Also the console gets /some.random.i.p lost connection ever so often Even though I am positive that not that many ppl were trying to connect. EDIT by Moderator: merged posts, please use the edit button instead of double posting.
sometimes it sais "randomIP disconnected" after a restart. but I don't think that's the big issue here.. the log you linked, is it still the same out of memory error now?
Throughout the server being up. iConomy has a few messages for me. "Cannot Connect to database" or something like that.
That means you'll have to edit the config file of iConomy saying it cannot use mysql but it has to you minidb, like this: Code: Database: # Databases Supported: # Flatfile, FF, mini, minidb # - These all equate to miniDB ## # item, items, inventory, inventoryDB # - These all equate to InventoryDB, which uses inventory for storage ## # xp, exp, orb, xpdb, expdb, orbdb # - These all equate to ExperienceDB, which relies on Experience for balance. ## # mysql, mysqldb # - These will attempt to connect to MySQL ## # sqlite, sqlite2, sqlite3, sqlitedb # - These will attempt to create & connect to SQLite ## # postgre, postgreSQL, postgreDB # - These will attempt to connect to PostgreSQL Type: 'minidb' # These are for InventoryDB only. # MajorItem is the item or block ID of the major currency # MinorItem is the item or block ID of the minor currency # e.g. MajorItem: 266, MinorItem: 265 for Gold/Iron MajorItem: 266 MinorItem: 265 # This controls the database name, by default it is iConomy Table: 'iConomy' # URL is for SQL Databases Only ## # Path to iConomy folder is easy, it's the COMPLETE path. # (Mine) G:\MineCraft\plugins\iConomy\ # Won't be the same as yours, but it usually looks like that. ## # [H2DB Default] h2:path/to/iConomy/folder/iConomy;AUTO_RECONNECT=TRUE # [SQLite Default] sqlite:path/to/iConomy/folder/iConomy.db ## # Binary Databases use ip:port style connections. # ip # - is the connection identifier (internet protocol) # - for ipv6 usually encased in brackets [::1] # port # - the port that the database is listening on # - defaults: 3306 for mysql, postgre is either 5740 or 5432 ## # [MySQL Default] mysql://localhost:3306/iConomy # [Postgre Default] postgresql://localhost:5740/iConomy URL: 'mysql://localhost:3306/iConomy' # Login details for binary databases Username: 'root' Password: '' # Conversion allows you to convert your old 5.x to the new 6.x # All is currently unused. # URL is for MySQL only, H2DB doesn't use it. Conversion: # Set to True, After converting, change this back to false! Enabled: false # Database Type, H2DB or MySQL Type: 'H2DB' # Database Table Table: 'iConomy' # Database URL without table at the end. URL: 'mysql://localhost:3306' # Username / Password # H2DB does not use this. MySQL Only. Username: 'root' Password: '' # Unused ATM. All: true you can also choose flatfile if you want to use just a file =) zip
NVM Resolved, I guess the batch file thing did work EDIT by Moderator: merged posts, please use the edit button instead of double posting.