Page MenuHomeSchine - Phabricator

Starmade | Game consumes all memory, and maintains this across multiple sessions
Closed, FinishedPublic

Description

While playing I've run into messages telling me that I'm out of memory in the JVM and need to do 'something' about it. Looking at the JVM it's at or very near to vmx (4G). This is 100% reproducible on the current release build after a few hours of even just sitting and running my production factory.

I've attached two heap/thread dumps, and their corresponding logs are inside

Details

Task Type
Bug
Testing Results
Affected Gamemode(s)
Multiplayer
Reproducible
Yes
Last tested (version)
v0.199.132a
Category
Engine
First occurrence (version)
v0.199.132a
Hardware/Software/System
OS-Specific
No
Hardware-Specific
No
Video Card Vendor
NVIDIA
Video Card Model
Quadro K1000M
Detected video (Graphicsinfo.txt)

in zip

Serverconfig (server.cfg)
<replace this line with the file content>
Clientconfig (settings.cfg)
C_USE_NEW_PLAYER_MODEL_ = true
CONTROL_HELP = false //Display help for controls
C_MOUSE_BUTTOM_SWITCH = false //Switch build/remove mouse buttons
G_RESOLUTION = 1360 x 768 //Resolution
G_FULLSCREEN = false //Fullscreen
G_WINDOWED_BORDERLESS = false //Borderless windowed mode
G_TEXTURE_PACK = Default //Texture Pack
G_TEXTURE_PACK_RESOLUTION = 64 //Texture Quality (Resolution)
G_VSYNCH = false //Vert-Synch
G_MULTI_SAMPLE_TARGET = 0 //Antialiasing (Samples)
G_MULTI_SAMPLE = 0
G_GAMMA = 1.2 //Gamma (Needs Frambuffer)
G_FOV = 85.0 //Field of View
G_MAX_SEGEMENTSDRAWN = 750 //Max segments Drawn at once (view distance)
G_NORMAL_MAPPING = false //Enable Normal mapping
G_SHADOWS = false
G_SHADOW_QUALITY = BAREBONE
G_SHADOWS_TARGET = false //Enable Shadows
G_SHADOW_QUALITY_TARGET = BAREBONE //Set Shadow Quality
G_PROD_BG = false //Procedural Background (fbo req)
G_PROD_BG_QUALITY = 1024 //Procedural BG quality
G_DRAW_SURROUNDING_GALAXIES_IN_MAP = false //Draw other galaxies in map (slow)
HIT_INDICATION_NUMBERS_LIFETIME = 0.4 //Time, hit numbers remain (sec)
PLAYER_SKIN_CREATE =  //Create Player Skin
PLAYER_SKIN =  //Path to player skin. Remove to Use default
D_LIFETIME_NORM = 10 //Lifetime (secs) of debris (0 to turn off)
S_SOUND_SYS_ENABLED = false
S_SOUND_ENABLED = true //Sound
S_SOUND_VOLUME_GLOBAL = 4 //Sound Volume
USE_OPEN_AL_SOUND = true //OpenAL (Off fixes stutter, but silent videos. restart needed. working on fix)
N_TRANSMIT_RAW_DEBUG_POSITIONS = false
C_SELECTED_JOYSTICK = -1
ICON_BAKERY_BLOCKSTYLE_ROTATE_DEG = -90.0
MOUSE_WHEEL_SENSIBILITY = 7.0E-4
BUILD_MODE_SHIFT_SPEED = 25.0
ORBITAL_CAM_SPEED = 0.5
G_DAMAGE_DISPLAY = 600 //Damage display distance
G_STAR_COUNT = 1024 //Star Count
G_VBO_BULKMODE_SIZE = 4
G_DRAW_FOG = false
G_DRAW_BEAMS = true //Draw beams
G_DRAW_EXHAUST_PLUMS = true //Draw thruster plums
D_INFO_CONTROLMANAGER = false
D_INFO_SHADER = true
T_ENABLE_TEXTURE_BAKER = false
D_INFO_DRAW_TIMES = false
D_INFO_DRAW_SPACE_PARTICLE = false
G_SPACE_PARTICLE = true //Draw space dust particles
G_DRAW_MOUSE_COLLISION = false
G_ATMOSPHERE_SHADER = normal
F_FRAME_BUFFER = true //Use Framebuffer
G_SHADOW_NEAR_DIST = 1.0
G_SHADOW_FAR_DIST = 75.0
G_SHADOW_DEPTH_RANGE_NEAR = 0.0
G_SHADOW_DEPTH_RANGE_FAR = 1.0
G_SHADOW_SPLIT_FAR_0 = 0.325
G_SHADOW_SPLIT_NEAR_1 = 0.325
G_SHADOW_SPLIT_FAR_1 = 0.325
G_SHADOW_SPLIT_NEAR_2 = 0.325
G_SHADOW_SPLIT_MULT = 1.005
G_SHADOW_CROP_MATRIX_MAX = -1000.0
G_SHADOW_CROP_MATRIX_MIN = 1000.0
G_SHADOW_EXTRA_BACKUP = 20.0
G_SHADOW_NEAR_CLIP = 0.05
G_SHADOW_SPLIT_RADIUS_ADD_0 = 0.0
G_SHADOW_SPLIT_RADIUS_ADD_1 = 10.0
G_SHADOW_SPLIT_RADIUS_ADD_2 = 0.0
G_SHADOW_SPLIT_RADIUS_ADD_3 = 0.0
G_SHADOW_SPLIT_ORTHO_FAR_ADDED_0 = 0.0
G_SHADOW_SPLIT_ORTHO_FAR_ADDED_1 = 100.0
G_SHADOW_SPLIT_ORTHO_FAR_ADDED_2 = 0.0
G_SHADOW_SPLIT_ORTHO_FAR_ADDED_3 = 0.0
G_SHADOW_SPLIT_ORTHO_NEAR_ADDED = -100.0
G_SHADOW_ULTRA_FAR_BOUND_ADDED_0 = -0.023
G_SHADOW_ULTRA_FAR_BOUND_ADDED_1 = -0.002
G_SHADOW_ULTRA_FAR_BOUND_ADDED_2 = -0.002
G_SHADOW_OTHER_QUALITY_FAR_BOUND_ADDED_0 = -0.023
G_SHADOW_OTHER_QUALITY_FAR_BOUND_ADDED_1 = -0.002
G_SHADOW_OTHER_QUALITY_FAR_BOUND_ADDED_2 = -0.0
G_SHADOW_FOV_ADDED_RAD = 0.2
G_SHADOW_DISPLAY_SHADOW_MAP = false
G_DRAW_SHIELDS = true //Shield Effect
G_DRAW_WATER = true
G_DRAW_BACKGOUND = true //Background Image
G_WATER_USER_MIPMAPS = false
E_NAVIGATION_FILTER = 1005
G_DRAW_ENTITIES = true
G_FRUSTUM_CULLTING = true
G_DRAW_EFFECTS = true
G_SHADER_RELOAD = false
G_FRAMRATE_FIXED = 60 //Limit Framerate (30, 60, 120, 240, or -1 for unlimited),
G_SHADERS_ACTIVE = true
G_DEBUG_DRAW_GRID = false
G_DEBUG_DRAW_LINES = true
T_TERRAIN_DRAW = true
T_TERRAIN_WIREFRAME_DRAW = false
G_CULLING_ACTIVE = true
G_TEXTURE_ARRAYS = false
G_AUTO_NORMALIZATION = true
G_DRAW_BY_SIDES = true
G_WIREFRAMED = false
G_TEXTURE_COMPRESSION_BLOCKS = false
G_TEXTURE_ARRAY_COMPRESSION = true
G_TEXTURE_ARRAY_MIPMAP = true
G_TEXTURE_MIPMAP = true
G_SHADOWS_VSM = false
S_PAUSED = false
S_SETTINGS_SHOW = false
MINIMAP_MODE = SMALL //Radar (minimap) size
SECTOR_INDICATION_MODE = INDICATION_ONLY //Indicators for other sectors
S_KEY_ALLOW_DUPLICATES = true //Allow key assign duplicates
GIF_WIDTH = 640
GIF_HEIGHT = 640
GIF_FPS = 15
GIF_GUI = false
G_DEBRIS_THRESHOLD_MS = 4
S_INITIAL_SETTING = Single Player
S_GAME_MODE = Sandbox
G_BONE_ANIMATION = true
P_NT_DEBUG_ACTIVE = false
P_PHYSICS_DEBUG_ACTIVE_OCCLUSION = false
P_PHYSICS_DEBUG_ACTIVE = false
P_PHYSICS_DEBUG_MODE = 0
G_DEUBG_LINE_DRAWING_ACTIVATED = false
G_WINDOW_START_POSITION = center
G_DRAW_GUI_ACTIVE = true
G_DRAW_NO_OVERLAYS = false
G_PARTICLE_SORTING = true
P_PHYSICS_ACTIVATED = true
G_SMOKE_QUALITY = false
G_DRAW_STARS = true //Draw additional stars
G_DRAW_PASTE_PREVIEW = true //Draw preview for paste
G_USE_SPRITE_VBO = true
TUTORIAL_NEW = false //Tutorial enabled
G_AUTOSELECT_CONTROLLERS = true //AutoSelect Controllers
S_INFO_DRAW = FPS_AND_PING //Tech Info
G_VBO_FLAG = STATIC
N_LAG_COMPENSATION = true
N_IGNORE_SAVED_UPLINK_CREDENTIALS_IN_SINGLEPLAYER = true
N_SERVERTIME_UPDATE_FREQUENCE = 10000
M_TEXTURE_PACK_CONFIG_TOOL = ./data/textures/block/Default/64/
G_MIPMAP_LEVEL_MAX = 3
M_MOUSE_SENSITIVITY = 1.0 //MoUse Sensitivity
G_HIT_INDICATION_SIZE = 1.0 //Size of hit indications
F_BLOOM = false //Bloom Effect
F_BLOOM_INTENSITY = 0.4 //Bloom Intensity
S_MOUSE_LOCK = true
G_DRAW_ADV_BUILDMODE_BLOCK_PREVIEW = true
G_DRAW_ALL_CONNECTIONS = false
G_SHOW_PURE_NUMBERS_FOR_SHIELD_AND_POWER = false
S_FLIP_HOTBAR_MOUSEWHEEL_WITHOUT_CTRL = true //flip through hotbars on mouse wheel without control
S_ZOOM_MOUSEWHEEL = SLOTS //primary mouse wheel function
S_MOUSE_SHIP_INVERT = false //Invert MoUse-Y (Ship)
S_MOUSE_ALL_INVERT = false //Invert MoUse-Y (All)
S_USE_REGION_SIGNATURE_TEST = false
G_PREVIEW_TO_BUILD_BLOCK = true //Preview Block to build
S_EXIT_ON_ESC = false
G_USE_HIGH_QUALITY_ACKGROUND = false
G_DRAW_POPUPS = true
G_USE_VBO_MAP = true
G_DRAW_JUMP_OVERLAY = true
G_MAG_FILTER_LINEAR_BLOCKS = false //Use linear mag filter on Blocks (restart required)
G_MAG_FILTER_LINEAR_GUI = false //Use linear mag filter on GUI (restart required)
G_MAX_BEAMS = 512 //MaxBeamsDrawn (restart required)
SEGMENT_REQUEST_BATCH = 64 //Size of Chunk request-queue
CLIENT_BUFFER_SIZE = 65536
ICON_BAKERY_SINGLE_RESOLUTION = 150
LIGHT_RAY_COUNT = 32 //Block light quality (impacts chunk refresh time, but not fps)
ICON_BAKERY_SINGLE_ICONS = false
G_MUST_CONFIRM_DETACHEMENT_AT_SPEED = 50.0 //Popup Detach Warning (% server speed, -1 off)
G_USE_SHADER4 = true
O_OCULUS_RENDERING = false
G_USE_VERTEX_LIGHTING_ONLY = true //Simple Lighting Quality (faster)
CLIENT_TRAFFIC_CLASS = true
G_DRAW_SELECTED_BLOCK_WOBBLE = true
G_USE_TWO_COMPENENT_SHADER = false
A_FORCE_AUTHENTICATION_METHOD = -1
MIN_FFA = 2
B_UNDO_REDO_MAX = 30
N_ARTIFICIAL_DELAY = 0
SEGMENT_PIECE_QUEUE_SINGLEPLAYER = 32767
G_MAX_MISSILE_TRAILS = 128 //Max Missile Trails (restart required)
G_USE_OCCLUSION_CULLING = false
C_AUTOASSIGN_WEAPON_SLOTS = true //Autoassign weapons on fire if bar empty
G_DRAW_NT_STATS_OVERLAY = false //Draw network statistics in hud
CLIENT_CUSTOM_TEXTURE_PATH = ./customBlockTextures
SECRET = none
LIMIT_FPS_UNFOCUS = true
GUI_USE_DISPLAY_LISTS = false
USE_GL_MULTI_DRAWARRAYS = true //MultiDraw Optimization (turn off on chunk Draw problems)
USE_GL_MULTI_DRAWARRAYS_INITIAL_SET = true
CHAT_CLOSE_ON_ENTER = true //Close chat on enter
A_FORCE_LOCAL_SAVE_ENABLED_IN_SINGLE_PLAYER = false
G_SHIP_INFO_ZOOM = 0
G_SINGLEPLAYER_CREATIVE_MODE = false //creative mode
G_DRAW_LAG_OBJECTS_IN_HUD = false //Draw lag statistics in hud
G_SHOW_SYMMETRY_PLANES = true //Show symmetry planes
LANGUAGE_PACK = english
LANGUAGE_PACK_ASSIGNED = true
DELETE_SEVER_DATABASE_ON_STARTUP = false
G_BASIC_SELECTION_BOX = false //Draw basic selection boxes
OFFLINE_PLAYER_NAME = 
ONLINE_PLAYER_NAME = xarses
SERVERLIST_COMPATIBLE = true
SERVERLIST_RESPONSIVE = true
SERVERLIST_FAVORITES = false
SERVERLIST_CUSTOMS = false
CUBE_LIGHT_NORMALIZER_NEW_M = true
SERVERLIST_LAST_SERVER_USED = 
LAST_GAME = MP;sm.lazygamerz.org;4242;xarses
PLAY_INTRO = true //Play Intro
SUBTITLES = true //Subtitles
TUTORIAL_BUTTON_BLINKING = false
TUTORIAL_PLAY_INTRO = false
TUTORIAL_WATCHED = introduction;
USE_INTEGER_VERTICES = true
LOD_DISTANCE_IN_THRESHOLD = 80.0 //Non Block Render Distance (LoD)
Java Version (32bit)

na

Java Version (64bit)

launcher

Event Timeline

xarses created this task.Aug 8 2016, 8:04 PM
lancake changed the task status from Open to Resolved.
lancake claimed this task.

This should be fixed in next release. Leaving on resolved for a few days.

Restricted Application removed a project: Issue Navigation. · View Herald TranscriptAug 12 2016, 3:27 PM
lancake shifted this object from the S1 Public space to the S3 Starmade space.Aug 12 2016, 3:27 PM
lancake changed the visibility from "Custom Policy" to "Public (No Login Required)".
lancake changed the edit policy from "Task Author" to "Starmade (Project)".
lancake triaged this task as Urgent priority.
Restricted Application added a project: Quality Assurance. · View Herald TranscriptAug 12 2016, 3:27 PM
Restricted Application added a subscriber: AndyP. · View Herald Transcript
Restricted Application added a project: Engine. · View Herald TranscriptMar 10 2017, 6:09 PM
AndyP moved this task from Backlog / Unclassed to General on the Engine board.Mar 15 2017, 7:59 PM
AndyP edited projects, added Engine (General); removed Engine.
lancake closed this task as Closed.Jun 16 2017, 8:11 PM
Restricted Application removed a project: Quality Assurance. · View Herald TranscriptJun 16 2017, 8:11 PM
Restricted Application removed a subscriber: AndyP. · View Herald Transcript