Thread: RAM - Server

Results 1 to 7 of 7
  1. #1 RAM - Server 
    Registered Member PvM Hussain's Avatar
    Join Date
    Aug 2013
    Posts
    266
    Thanks given
    23
    Thanks received
    3
    Rep Power
    11
    Hi, i run my server on a vps, but i bought the 2gb ram vps..
    and yesterday the vps got shutted down since my source used 1,5+gb ram to run normally it is 1gb ram..

    Here is my run.bat

    Code:
    @echo off
    title Epsilon
    java -Xmx1500m -cp bin;deps/poi.jar;deps/mysql.jar;deps/RuneTopListV2.jar;deps/GTLVote.jar;deps/mina.jar;deps/slf4j.jar;deps/slf4j-nop.jar;deps/jython.jar;log4j-1.2.15.jar; server.Server
    pause
    Do i change the XMX1500M to Xmx1000m + what will it do? it will reduce the ram but will it make my players lagg more?

    Is there other places to change the ram on the source too or only at run.bat?


    And in my config.java

    Code:
    	public static final int BANK_SIZE = 352;
    	public static final int MAX_PLAYERS = 250;
    What is the max i can edit for players & bank size, can i put like banksize 500-1000?
    http://i43.tinypic.com/24v1la8.gif
    Reply With Quote  
     

  2. #2  
    Endeavor

    Mikey`'s Avatar
    Join Date
    Dec 2007
    Posts
    4,434
    Thanks given
    715
    Thanks received
    1,435
    Rep Power
    1202
    That does nothing to help save memory, only allocates it on start-up. You should only be getting 1024mb+ if you have a lot of players.
    Reply With Quote  
     

  3. #3  
    Registered Member PvM Hussain's Avatar
    Join Date
    Aug 2013
    Posts
    266
    Thanks given
    23
    Thanks received
    3
    Rep Power
    11
    Quote Originally Posted by Mikey` View Post
    That does nothing to help save memory, only allocates it on start-up. You should only be getting 1024mb+ if you have a lot of players.
    Since i got reply from trentahost, my server got shut down or my vps got shut down since my server used more then 1,8gb ram?

    I have about
    30 players only max
    http://i43.tinypic.com/24v1la8.gif
    Reply With Quote  
     

  4. #4  
    Endeavor

    Mikey`'s Avatar
    Join Date
    Dec 2007
    Posts
    4,434
    Thanks given
    715
    Thanks received
    1,435
    Rep Power
    1202
    Quote Originally Posted by Thor Epsilon View Post
    Since i got reply from trentahost, my server got shut down or my vps got shut down since my server used more then 1,8gb ram?

    I have about
    30 players only max
    You have a massive memory leak then.
    Reply With Quote  
     

  5. #5  
    Registered Member PvM Hussain's Avatar
    Join Date
    Aug 2013
    Posts
    266
    Thanks given
    23
    Thanks received
    3
    Rep Power
    11
    Quote Originally Posted by Mikey` View Post
    You have a massive memory leak then.
    here see:



    http://i43.tinypic.com/24v1la8.gif
    Reply With Quote  
     

  6. #6  
    Endeavor

    Mikey`'s Avatar
    Join Date
    Dec 2007
    Posts
    4,434
    Thanks given
    715
    Thanks received
    1,435
    Rep Power
    1202
    Quote Originally Posted by Thor Epsilon View Post
    here see:



    I suggest profiling your server.
    Reply With Quote  
     

  7. #7  
    Registered Member PvM Hussain's Avatar
    Join Date
    Aug 2013
    Posts
    266
    Thanks given
    23
    Thanks received
    3
    Rep Power
    11
    Quote Originally Posted by Mikey` View Post
    I suggest profiling your server.
    What will that say and profilling my "rsps" or my "vps"?


    I think there must be something in config.java?

    Code:
    package server;
    
    import core.util.Misc;
    
    
    public class Config {
    
    	public static final boolean SERVER_DEBUG = false;
    	
    	public static final String SERVER_NAME = "Epsilon";
    	public static final String WELCOME_MESSAGE = "Welcome to Epsilon.";
    	public static final String FORUMS = "epsilonps.createaforum.com";
    	
    	public static final int CLIENT_VERSION = 1;
    	public static boolean sendServerPackets = false;
    	
    	public static int MESSAGE_DELAY = 6000;
    	public static final int ITEM_LIMIT = 19112;
    	public static final int MAXITEM_AMOUNT = Integer.MAX_VALUE;
    	public static final int BANK_SIZE = 700;
    	public static final int MAX_PLAYERS = 1024;
    	
    	public static final int CONNECTION_DELAY = 55;
    	public static final int IPS_ALLOWED = 3;
    		
    	public static final boolean WORLD_LIST_FIX = false;
    	
    	public static final int[] ITEM_SELLABLE 		=	{1051,1050,6570,9790,9949,10662,1837,10723,10724,10725,10726,10727,10728,10732,10735,1419,2528,3842,3844,3840,8844,8845,8846,8847,8848,8849,8850,10551,7462,7461,7460,7459,7458,7457,7456,7455,7454,8839,8840,8842,11663,11664,11665,10499,
    														9748,9754,9751,9769,9757,9760,9763,9802,9808,9784,9799,9805,9781,9796,9793,9775,9772,9778,9787,9811,9766,
    														9749,9755,9752,9770,9758,9761,9764,9803,9809,9785,9800,9806,9782,9797,9794,9776,9773,9779,9788,9812,9767,
    														9747,9753,9750,9768,9756,9759,9762,9801,9807,9783,9798,9804,9780,9795,9792,9774,9771,9777,9786,9810,9765,995};
    	public static final int[] ITEM_TRADEABLE 		= 	{1050,1051,6570,9790,9949,10662,1837,10723,10724,10725,10726,10727,10728,10732,10735,1419,2528,3842,3844,3840,8844,8845,8846,8847,8848,8849,8850,10551,7462,7461,7460,7459,7458,7457,7456,7455,7454,8839,8840,8842,11663,11664,11665,10499,
    														9748,9754,9751,9769,9757,9760,9763,9802,9808,9784,9799,9805,9781,9796,9793,9775,9772,9778,9787,9811,9766,
    														9749,9755,9752,9770,9758,9761,9764,9803,9809,9785,9800,9806,9782,9797,9794,9776,9773,9779,9788,9812,9767,
    														9747,9753,9750,9768,9756,9759,9762,9801,9807,9783,9798,9804,9780,9795,9792,9774,9771,9777,9786,9810,9765};
    	public static final int[] UNDROPPABLE_ITEMS 	= 	{1050,1051,10723,10724,10725,10726,10727,10728,10732,10735,1419,13661};
    	
    	 public static final int[] WEBS_CANNOT = { 9185, 839, 845, 847, 851, 855,
    			859, 841, 843, 849, 853, 857, 861, 4212, 4214, 4215, 11235, 4216,
    			4217, 4218, 4219, 4220, 4221, 4222, 4223, 6724, 4734, 4934, 4935,
    			4936, 4937, 1379, 1381, 1383, 1385, 1387, 1389 };
    	
    	public static final int[] FUN_WEAPONS	=	{2460,2461,2462,2463,2464,2465,2466,2467,2468,2469,2470,2471,2471,2473,2474,2475,2476,2477};
    	
    	public static final boolean ADMIN_CAN_TRADE = true;
    	public static final boolean ADMIN_CAN_SELL_ITEMS = true;
    	public static final boolean ADMIN_DROP_ITEMS = true;
    	
    	public static final int START_LOCATION_X = 2605;
    	public static final int START_LOCATION_Y = 3093;
    	public static final int RESPAWN_X = 2605 + Misc.random(2);
    	public static final int RESPAWN_Y = 3093 + Misc.random(1);
    	public static final int DUELING_RESPAWN_X = 3362;
    	public static final int DUELING_RESPAWN_Y = 3263;
    	public static final int RANDOM_DUELING_RESPAWN = 5;
    	
    	public static final int NO_TELEPORT_WILD_LEVEL = 20;
    	public static final int SKULL_TIMER = 1200;
    	public static final int TELEBLOCK_DELAY = 20000;
    	public static final boolean SINGLE_AND_MULTI_ZONES = true;
    	public static final boolean COMBAT_LEVEL_DIFFERENCE = true;
    	
    	public static final boolean itemRequirements = true;
    		
    	public static final int MELEE_EXP_RATE = 950;
    	public static final int RANGE_EXP_RATE = 1000;
    	public static final int MAGIC_EXP_RATE = 950;
    	
    	/**
    	 * Turn this into a double, because integers can't contain float/decimal
    	 * values without having to truncate them to the nearest whole number
    	 */
    	public static double SERVER_EXP_BONUS = 1;
    	
    	/**
    	 * Server messages
    	 */
    	public static int LAST_MESSAGE = 0;
    	
    	public static final int INCREASE_SPECIAL_AMOUNT = 14500;
    	public static final boolean PRAYER_POINTS_REQUIRED = true;
    	public static final boolean PRAYER_LEVEL_REQUIRED = true;
    	public static final boolean MAGIC_LEVEL_REQUIRED = true;
    	public static final int GOD_SPELL_CHARGE = 300000;
    	public static final boolean RUNES_REQUIRED = true;
    	public static final boolean CORRECT_ARROWS = true;
    	public static final boolean CRYSTAL_BOW_DEGRADES = true;
    	
    	public static final int SAVE_TIMER = 10;
    	public static final int NPC_RANDOM_WALK_DISTANCE = 4;
    	public static final int NPC_FOLLOW_DISTANCE = 10;												
    	public static final int[] UNDEAD_NPCS = {90,91,92,93,94,103,104,73,74,75,76,77};
    	
    	public static final int ATTACK = 0;
    	public static final int DEFENCE = 1;
    	public static final int STRENGTH = 2;
    	public static final int HITPOINTS = 3;
    	public static final int RANGED = 4;
    	public static final int PRAYER = 5;
    	public static final int MAGIC = 6;
    	public static final int COOKING = 7;
    	public static final int WOODCUTTING = 8;
    	public static final int FLETCHING = 9;
    	public static final int FISHING = 10;
    	public static final int FIREMAKING = 11;
    	public static final int CRAFTING = 12;
    	public static final int SMITHING = 13;
    	public static final int MINING = 14;
    	public static final int HERBLORE = 15;
    	public static final int AGILITY = 16;
    	public static final int THIEVING = 17;
    	public static final int SLAYER = 18;
    	public static final int FARMING = 19;
    	public static final int RUNECRAFTING = 20;
    
    	/**
    	 * Glory
    	 */
    	public static final int EDGEVILLE_X = 3087;
    	public static final int EDGEVILLE_Y = 3500;
    	public static final String EDGEVILLE = "";
    	public static final int AL_KHARID_X = 3293;
    	public static final int AL_KHARID_Y = 3174;
    	public static final String AL_KHARID = "";
    	public static final int KARAMJA_X = 3087;
    	public static final int KARAMJA_Y = 3500;
    	public static final String KARAMJA = "";
    	public static final int MAGEBANK_X = 2538;
    	public static final int MAGEBANK_Y = 4716;
    	public static final String MAGEBANK = "";
    	
    	/**
    	* Teleport Spells
    	**/
    	// modern
    	public static final int VARROCK_X = 3210;
    	public static final int VARROCK_Y = 3424;
    	public static final String VARROCK = "";
    	public static final int LUMBY_X = 3222;
    	public static final int LUMBY_Y = 3218;
    	public static final String LUMBY = "";
        public static final int FALADOR_X = 2964;
    	public static final int FALADOR_Y = 3378;
    	public static final String FALADOR = "";
    	public static final int CAMELOT_X = 2757;
    	public static final int CAMELOT_Y = 3477;
    	public static final String CAMELOT = "";
    	public static final int CATHERBY_X = 2804;
    	public static final int CATHERBY_Y = 3433;
    	public static final String CATHERBY = "";
    	public static final int ARDOUGNE_X = 2662;
    	public static final int ARDOUGNE_Y = 3305;
    	public static final String ARDOUGNE = "";
    	public static final int WHITE_WOLF_MOUNTAIN_X = 2848;
    	public static final int WHITE_WOLF_MOUNTAIN_Y = 3498;
    	public static final String WHITE_WOLF_MOUTAIN = "";
    	public static final int TROLLHEIM_X = 3243;
    	public static final int TROLLHEIM_Y = 3513;
    	public static final String TROLLHEIM = "";
    	public static final int APE_ATOLL_X = 2762;
    	public static final int APE_ATOLL_Y = 2784;
    	public static final String APE_ATOLL = "";
    	
    	// ancient
    	
    	public static final int PADDEWWA_X = 3098;
    	public static final int PADDEWWA_Y = 9884;
    	
    	public static final int SENNTISTEN_X = 3322;
    	public static final int SENNTISTEN_Y = 3336;
    
        public static final int KHARYRLL_X = 3492;
    	public static final int KHARYRLL_Y = 3471;
    
    	public static final int LASSAR_X = 3006;
    	public static final int LASSAR_Y = 3471;
    	
    	public static final int DAREEYAK_X = 3161;
    	public static final int DAREEYAK_Y = 3671;
    	
    	public static final int CARRALLANGAR_X = 3156;
    	public static final int CARRALLANGAR_Y = 3666;
    	
    	public static final int ANNAKARL_X = 3288;
    	public static final int ANNAKARL_Y = 3886;
    	
    	public static final int GHORROCK_X = 2977;
    	public static final int GHORROCK_Y = 3873;
     
    	public static final int TIMEOUT = 20;
    	public static final int CYCLE_TIME = 600;
    	public static final int BUFFER_SIZE = 10000;
    	
    	/**
    	 * Slayer Variables
    	 */
    	public static final int[][] SLAYER_TASKS = {{1,87,90,4,5}, 
    												{6,7,8,9,10},
    												{11,12,13,14,15},
    												{1,1,15,20,25},
    												{30,35,40,45,50},
    												{60,75,80,85,90}};
    	
    	/**
    	* Skill Experience Multipliers
    	*/	
    	public static final int WOODCUTTING_EXPERIENCE = 45;
    	public static final int MINING_EXPERIENCE = 50;
    	public static final int SMITHING_EXPERIENCE = 50;
    	public static final int FARMING_EXPERIENCE = 40;
    	public static final int FIREMAKING_EXPERIENCE = 55;
    	public static final int HERBLORE_EXPERIENCE = 40;
    	public static final int FISHING_EXPERIENCE = 40;
    	public static final int AGILITY_EXPERIENCE = 60;
    	public static final int PRAYER_EXPERIENCE = 60;
    	public static final int RUNECRAFTING_EXPERIENCE = 50;
    	public static final int CRAFTING_EXPERIENCE = 50;
    	public static final int THIEVING_EXPERIENCE = 30;
    	public static final int SLAYER_EXPERIENCE = 50;
    	public static final int COOKING_EXPERIENCE = 55;
    	public static final int FLETCHING_EXPERIENCE = 55;
    }
    http://i43.tinypic.com/24v1la8.gif
    Reply With Quote  
     


Thread Information
Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)


User Tag List

Similar Threads

  1. Free Server - 24/7, 1GB RAM, QuadCore
    By Southscape in forum Hosting
    Replies: 10
    Last Post: 05-18-2009, 01:15 AM
  2. dedicated server 2GB Ram
    By George in forum Hosting
    Replies: 11
    Last Post: 05-17-2009, 07:28 PM
  3. Hosting On Windows Server 6GB Ram
    By hostingforall in forum Hosting
    Replies: 0
    Last Post: 04-27-2009, 05:03 PM
  4. hostin server 3gb ram
    By daza12344 in forum Hosting
    Replies: 13
    Last Post: 04-14-2009, 08:33 PM
  5. Bio-Hazard Server 24/7 VPS 2GB Ram!
    By H0rn in forum Advertise
    Replies: 14
    Last Post: 02-21-2009, 02:44 PM
Posting Permissions
  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •