Posted May 31, 2013 8th crash today Contents of console.log:Time is Fri May 31 15:46:00 MDT 2013Running client version 3.1.77-4859=== System information ===Executing from C:\Users\USERNAME\Desktop\Operating system: Windows 8 (arch: x86, version: 6.2)Java version: 1.7.0_21 (Oracle Corporation) Jvm version: 23.21-b01 (Oracle Corporation) [Java HotSpot Client VM]Available CPUs: 2>>> Main thread exiting.Loading character chiqaLoading config defaultLoading props file C:\Users\USERNAME\wurm\configs\default\gamesettings.txtLoading props file C:\Users\USERNAME\wurm\players\chiqa\password.txt>>> LoginFrame queue entry exiting.Saving props file C:\Users\USERNAME\wurm\players\chiqa\password.txtSaving props file C:\Users\USERNAME\wurm\configs\default\gamesettings.txtLoaded pack graphics.jar (r1247)Options up-to-date!Loading props file C:\Users\USERNAME\wurm\players\chiqa\playerdata.txtLoading props file C:\Users\USERNAME\wurm\players\chiqa\stats.txtPreparing to enable console logging.Now logging to C:\Users\USERNAME\wurm\console.chiqa.log=== Wurm options ===animation_playback_self = 1auto_mipmaps_enabled = 2auto_run_source = 0cavedetail = 0censor_chat = falsecloud_shadows = falsecollada_animations = 0color_black = 0.0,0.0,0.0color_cyan = 0.0,1.0,1.0color_error = 1.0,0.3,0.3color_fuchsia = 1.0,0.0,1.0color_green = 0.08,1.0,0.08color_grey = 0.5,0.5,0.5color_lime = 0.0,1.0,0.0color_maroon = 0.5,0.0,0.0color_navy_blue = 0.23,0.39,1.0color_orange = 1.0,0.5,0.0color_purple = 0.5,0.0,0.5color_red = 1.0,0.0,0.0color_royal_blue = 0.23,0.39,1.0color_silver = 0.75,0.75,0.75color_system = 0.5,1.0,0.5color_teal = 0.0,0.5,0.5color_white = 1.0,1.0,1.0color_yellow = 1.0,1.0,0.0compressed_textures = falsecompressed_textures_S3TC = falsecustim_timer_source = 1customTimer1 = -1|-1customTimer2 = -1|-1customTimer3 = -1|-1customTimer4 = -1|-1customTimer5 = -1|-1debug_mode = falsedepth_clamp_enabled = 2display_settings = false:false:0:1024:600:32:-1:false:trueenable_debugs = falseenable_shift_drag = falseenable_vsync = falseengine_multithreaded = 0event_log_rotation = 3exec_source = 0fast_yield = falsefbo_enabled = 2fog_coord_src = 0font_antialias = 0font_bold = 11font_default = 14font_header = 24font_italian = 11font_monospaced = 11font_static = 11fov_horizontal = 60fps_limit = 30fps_limit_background = 15fps_limit_enabled = truegame_client_thread_priority = 2glsl_enabled = 2gui_opacity = 3gui_skin = 0has_read_eula = truehide_inactive_friends = falsehide_menu_examine = falsehide_menu_no_target = falsehide_menu_spam_mode = truehide_menu_stop = falsehigh_res_binoculars = falsehint_texture_scaling = 1impColumn = trueinverse_mouse = falseirc_log_rotation = 3irc_notif = 0item_creature_render_distance = 2key_bindings_source = 0keyboard_layout = 0loadInventoryStartup = falselocal_list_in_event = truelog_extra_errors = falselog_gl_errors = falsemark_text_read = truematerial_as_suffix = truemax_texture_size = 2mega_texture_size = 4model_loader_thread_priority = 1model_loading_threads = 0multidraw_enabled = 2no_brightness = falseno_terrain_render = falseno_world_render = falsenon_power_of_two = 2occlusion_queries_enabled = 2offscreen_texture_size = 0other_log_rotation = 3outline_picking = truepbuffer_enabled = trueplayer_guest = falseplayer_texture_size = 2reflection_texture_size = 0reflections = 0release_context = falserelease_context_on_jogl_sleep = falseremember_password = truerender_distant_terrain = truerender_glow = falserender_sun_glare = falseresident_models = falsesave_skills_on_quit = truescreenshot_file_format = 1season_override = 0setting_timestamps = truesettings_version = 3shadow_level = 0shift_drag_default = 10showKChat = truesilent_friends_update = falseskillgain_minimum = 5skillgain_no_alignment = falseskillgain_no_favor = falseskydetail = 0sound_al_gain = 1sound_buzzlevel = 0sound_cache_enabled = truesound_doppler_enabled = falsesound_engine = 1sound_footstepslevel = 2sound_play_ambients = falsesound_play_buzz = falsesound_play_combat = truesound_play_door = falsesound_play_emotes = falsesound_play_footsteps = falsesound_play_music = falsesound_play_weather = falsesound_play_work = truestipple_enabled = truestructure_render_distance = 2submit_client_data = 2terrain_bump = falseterrain_res = 0test_attach_equipment = falsetest_mode = 0tile_transitions = falsetiledecorations = 1togglePushToTalk = truetreelist_outline = truetrees = 2update_optional = trueuse_alpha_particles = trueuse_anisotropic_filtering = 0use_antialiasing = 0use_color_picking = falseuse_fast_clock_work_around = trueuse_fbo_color_picking = trueuse_fbo_reflections = trueuse_nagles_algorithm = falseuse_nano_timer = falseuse_non_alpha_particles = falseuse_phobia_models = falseuse_tree_models = trueuse_weather_particles = falsevbo_enabled = 2viewport_bob = truewater_detail = 0Setting up dotXSI Model LoaderSetting up Collada Model LoaderExecuting C:\Users\USERNAME\wurm\configs\default\keybindings.txtTranslating legacy key ENTER to RETURNTranslating legacy key PAGE_UP to PRIORTranslating legacy key PAGE_DOWN to NEXTWord filter loaded: 23>>> Launch queue entry exiting.Using LWJGL display 1024:600:0:0 (false)Loaded vertex shader shader.white.vertexLoaded pixel shader shader.white.fragmentLoaded program program.whiteLoaded material material.mesh.defaultLoaded vertex shader shader.skin_tex0.vertexLoaded pixel shader shader.tex0.fragmentLoaded program program.skin_tex0Loaded material material.mesh.skinLaunching dotXSI Model Loader threadsLaunching Collada Model Loader threadsSetting up Sonar Sound Engine=== OpenGL information ===LWJGL version: 2.9.0Adapter info: aticfx64 (null)OpenGL vendor: ATI Technologies Inc.OpenGL renderer: AMD Radeon HD 6300 series GraphicsOpenGL version: 4.2.11764 Compatibility Profile ContextOpenGL extensions:GL_AMDX_debug_outputGL_AMDX_vertex_shader_tessellatorGL_AMD_conservative_depthGL_AMD_debug_outputGL_AMD_depth_clamp_separateGL_AMD_draw_buffers_blendGL_AMD_multi_draw_indirectGL_AMD_name_gen_deleteGL_AMD_performance_monitorGL_AMD_pinned_memoryGL_AMD_query_buffer_objectGL_AMD_sample_positionsGL_AMD_seamless_cubemap_per_textureGL_AMD_shader_stencil_exportGL_AMD_shader_traceGL_AMD_texture_cube_map_arrayGL_AMD_texture_texture4GL_AMD_transform_feedback3_lines_trianglesGL_AMD_vertex_shader_layerGL_AMD_vertex_shader_tessellatorGL_AMD_vertex_shader_viewport_indexGL_ARB_ES2_compatibilityGL_ARB_base_instanceGL_ARB_blend_func_extendedGL_ARB_color_buffer_floatGL_ARB_compressed_texture_pixel_storageGL_ARB_conservative_depthGL_ARB_copy_bufferGL_ARB_depth_buffer_floatGL_ARB_depth_clampGL_ARB_depth_textureGL_ARB_draw_buffersGL_ARB_draw_buffers_blendGL_ARB_draw_elements_base_vertexGL_ARB_draw_indirectGL_ARB_draw_instancedGL_ARB_explicit_attrib_locationGL_ARB_fragment_coord_conventionsGL_ARB_fragment_programGL_ARB_fragment_program_shadowGL_ARB_fragment_shaderGL_ARB_framebuffer_objectGL_ARB_framebuffer_sRGBGL_ARB_geometry_shader4GL_ARB_get_program_binaryGL_ARB_gpu_shader5GL_ARB_gpu_shader_fp64GL_ARB_half_float_pixelGL_ARB_half_float_vertexGL_ARB_imagingGL_ARB_instanced_arraysGL_ARB_internalformat_queryGL_ARB_map_buffer_alignmentGL_ARB_map_buffer_rangeGL_ARB_multisampleGL_ARB_multitextureGL_ARB_occlusion_queryGL_ARB_occlusion_query2GL_ARB_pixel_buffer_objectGL_ARB_point_parametersGL_ARB_point_spriteGL_ARB_provoking_vertexGL_ARB_sample_shadingGL_ARB_sampler_objectsGL_ARB_seamless_cube_mapGL_ARB_separate_shader_objectsGL_ARB_shader_atomic_countersGL_ARB_shader_bit_encodingGL_ARB_shader_image_load_storeGL_ARB_shader_objectsGL_ARB_shader_precisionGL_ARB_shader_stencil_exportGL_ARB_shader_subroutineGL_ARB_shader_texture_lodGL_ARB_shading_language_100GL_ARB_shading_language_420packGL_ARB_shading_language_packingGL_ARB_shadowGL_ARB_shadow_ambientGL_ARB_syncGL_ARB_tessellation_shaderGL_ARB_texture_border_clampGL_ARB_texture_buffer_objectGL_ARB_texture_buffer_object_rgb32GL_ARB_texture_compressionGL_ARB_texture_compression_bptcGL_ARB_texture_compression_rgtcGL_ARB_texture_cube_mapGL_ARB_texture_cube_map_arrayGL_ARB_texture_env_addGL_ARB_texture_env_combineGL_ARB_texture_env_crossbarGL_ARB_texture_env_dot3GL_ARB_texture_floatGL_ARB_texture_gatherGL_ARB_texture_mirrored_repeatGL_ARB_texture_multisampleGL_ARB_texture_non_power_of_twoGL_ARB_texture_query_lodGL_ARB_texture_rectangleGL_ARB_texture_rgGL_ARB_texture_rgb10_a2uiGL_ARB_texture_snormGL_ARB_texture_storageGL_ARB_timer_queryGL_ARB_transform_feedback2GL_ARB_transform_feedback3GL_ARB_transform_feedback_instancedGL_ARB_transpose_matrixGL_ARB_uniform_buffer_objectGL_ARB_vertex_array_bgraGL_ARB_vertex_array_objectGL_ARB_vertex_attrib_64bitGL_ARB_vertex_buffer_objectGL_ARB_vertex_programGL_ARB_vertex_shaderGL_ARB_vertex_type_2_10_10_10_revGL_ARB_viewport_arrayGL_ARB_window_posGL_ATI_draw_buffersGL_ATI_envmap_bumpmapGL_ATI_fragment_shaderGL_ATI_meminfoGL_ATI_separate_stencilGL_ATI_texture_compression_3dcGL_ATI_texture_env_combine3GL_ATI_texture_floatGL_ATI_texture_mirror_onceGL_EXT_abgrGL_EXT_bgraGL_EXT_bindable_uniformGL_EXT_blend_colorGL_EXT_blend_equation_separateGL_EXT_blend_func_separateGL_EXT_blend_minmaxGL_EXT_blend_subtractGL_EXT_compiled_vertex_arrayGL_EXT_copy_bufferGL_EXT_copy_textureGL_EXT_direct_state_accessGL_EXT_draw_buffers2GL_EXT_draw_instancedGL_EXT_draw_range_elementsGL_EXT_fog_coordGL_EXT_framebuffer_blitGL_EXT_framebuffer_multisampleGL_EXT_framebuffer_objectGL_EXT_framebuffer_sRGBGL_EXT_geometry_shader4GL_EXT_gpu_program_parametersGL_EXT_gpu_shader4GL_EXT_histogramGL_EXT_multi_draw_arraysGL_EXT_packed_depth_stencilGL_EXT_packed_floatGL_EXT_packed_pixelsGL_EXT_pixel_buffer_objectGL_EXT_point_parametersGL_EXT_provoking_vertexGL_EXT_rescale_normalGL_EXT_secondary_colorGL_EXT_separate_specular_colorGL_EXT_shader_image_load_storeGL_EXT_shadow_funcsGL_EXT_stencil_wrapGL_EXT_subtextureGL_EXT_texgen_reflectionGL_EXT_texture3DGL_EXT_texture_arrayGL_EXT_texture_buffer_objectGL_EXT_texture_compression_bptcGL_EXT_texture_compression_latcGL_EXT_texture_compression_rgtcGL_EXT_texture_compression_s3tcGL_EXT_texture_cube_mapGL_EXT_texture_edge_clampGL_EXT_texture_env_addGL_EXT_texture_env_combineGL_EXT_texture_env_dot3GL_EXT_texture_filter_anisotropicGL_EXT_texture_integerGL_EXT_texture_lodGL_EXT_texture_lod_biasGL_EXT_texture_mirror_clampGL_EXT_texture_objectGL_EXT_texture_rectangleGL_EXT_texture_sRGBGL_EXT_texture_sRGB_decodeGL_EXT_texture_shared_exponentGL_EXT_texture_snormGL_EXT_texture_storageGL_EXT_texture_swizzleGL_EXT_timer_queryGL_EXT_transform_feedbackGL_EXT_vertex_arrayGL_EXT_vertex_array_bgraGL_EXT_vertex_attrib_64bitGL_IBM_texture_mirrored_repeatGL_KTX_buffer_regionGL_NV_blend_squareGL_NV_conditional_renderGL_NV_copy_depth_to_colorGL_NV_copy_imageGL_NV_explicit_multisampleGL_NV_float_bufferGL_NV_half_floatGL_NV_primitive_restartGL_NV_texgen_reflectionGL_NV_texture_barrierGL_SGIS_generate_mipmapGL_SGIS_texture_edge_clampGL_SGIS_texture_lodGL_SUN_multi_draw_arraysGL_WIN_swap_hintWGL_EXT_swap_controlGLSL version: 4.20Server response: Invalid request.Starting workaround for fast running clocksUsing LWJGL timer.Initialized mouse with 5 buttons.Startup Phase - Setting up..Initializing font texture for SansSerif (14). Texture Size: 512Initializing font texture for SansSerif (14, italic). Texture Size: 128Loading window positions from C:\Users\USERNAME\wurm\players\chiqa\windows_1024x600.txtLoading props file C:\Users\USERNAME\wurm\players\chiqa\windows_1024x600.txtGui initializedStartup Phase - Preparing terrainLoaded vertex shader shader.water.vertexLoaded pixel shader shader.water.fragmentLoaded program program.waterStartup Phase - Connecting ..Disabling NaglesWriting to C:\Users\USERNAME\wurm\players\chiqa\logs\_Event.2013-05-31.txtDisabling NaglesWriting to C:\Users\USERNAME\wurm\players\chiqa\logs\Alliance.2013-05-31.txtLogin successfulExecuting C:\Users\USERNAME\wurm\configs\default\autorun.txtStarting update of login splash image...Writing to C:\Users\USERNAME\wurm\players\chiqa\logs\_Friends.2013-05-31.txtFinished loading new login splash image!Initializing font texture for SansSerif (11). Texture Size: 128Writing to C:\Users\USERNAME\wurm\players\chiqa\logs\_Skills.2013-05-31.txtSaving window positions to C:\Users\USERNAME\wurm\players\chiqa\windows_1024x600.txtSaving props file C:\Users\USERNAME\wurm\players\chiqa\windows_1024x600.txtLoading window positions from C:\Users\USERNAME\wurm\players\chiqa\windows_1366x705.txtLoading props file C:\Users\USERNAME\wurm\players\chiqa\windows_1366x705.txtExecution aborted at connection 1, iteration 5900Exception in thread "Collada Model Loader 0" Run time 8m, local time Fri May 31 15:55:12 MDT 2013Destroying game windowjava.lang.OutOfMemoryErrorat sun.misc.Unsafe.allocateMemory(Native Method)at java.nio.DirectByteBuffer.(Unknown Source)at java.nio.ByteBuffer.allocateDirect(Unknown Source)at org.lwjgl.BufferUtils.createByteBuffer(BufferUtils.java:60)at org.lwjgl.BufferUtils.createFloatBuffer(BufferUtils.java:110)at class.lL.a(SourceFile:45)at class.hO.d(SourceFile:724)at class.hB.b(SourceFile:472)at class.hB.b(SourceFile:107)at class.hB.a(SourceFile:89)at class.hl.run(SourceFile:124)at java.lang.Thread.run(Unknown Source)====== CLIENT CRASH ======Unexpected crash while playingjava.lang.OutOfMemoryErrorat sun.misc.Unsafe.allocateMemory(Native Method)at java.nio.DirectByteBuffer.(Unknown Source)at java.nio.ByteBuffer.allocateDirect(Unknown Source)at org.lwjgl.BufferUtils.createByteBuffer(BufferUtils.java:60)at org.lwjgl.BufferUtils.createFloatBuffer(BufferUtils.java:110)at class.lL.a(SourceFile:45)at class.hO.a(SourceFile:762)at class.hH.(SourceFile:189)at class.hw.(SourceFile:26)at class.hD.(SourceFile:143)at class.hm.(SourceFile:85)at class.hm.a(SourceFile:38)at class.hf.c(SourceFile:228)at class.hf.a(SourceFile:212)at class.he.a(SourceFile:180)at class.hl.b(SourceFile:149)at com.wurmonline.client.h.e(SourceFile:317)at com.wurmonline.client.h.run(SourceFile:1379)at java.lang.Thread.run(Unknown Source) Share this post Link to post Share on other sites
Posted May 31, 2013 and again Unexpected crash while playing The error was: <null> It's possible you might figure out what's wrong from the log file below, but if you can't, post the full log on the wurm online forums, and someone else might be able to help you. Share this post Link to post Share on other sites
Posted June 1, 2013 Until the code optimization is done in 1.1 i don't expect to see a fix - I'm betting it's a bloat problem and optimization is probably the only fix for 32 bit operating systems. Share this post Link to post Share on other sites
Posted June 1, 2013 Is witched to 64 bit Java which matches my windows. Not a single crash since in 3+ hours. Share this post Link to post Share on other sites
Posted June 2, 2013 For those who operates 32 bit windows and java. Switching terrain/shadow resolution to low helped a lot. I had only one crash after it even with many ppl in my local. Share this post Link to post Share on other sites
Posted June 2, 2013 I having the same problem. I don't know how to post the log for some reason right click doesn't work. I have the latest update version of Java 6 had a problem with Java 7 not working. My computer is x32 could someone explain how to fix this in less technical terms. Java works my computer really hard pushing it to 1,500,000 private bits(not sure what those are) and then crashes around that point. It acts up around 1,300,000 and use to do less than that before the last few updates. Moving slow only slows it down but it gets there eventually. I have everything on the lowest settings possible. I try to make sure I don't have other programs running. This game is starting to be unplayable and its starting to overheat my computer. Share this post Link to post Share on other sites
Posted June 5, 2013 I've been doing some more experimenting with this. Here are some of my observations:These crashes are being triggered by failure to allocate direct buffers outside the heap. More specifically, this type of OutOfMemoryError seems to occur when a direct buffer allocation would require allocating beyond the process memory limit, but would not exceed the maximum direct buffer memory size. Under 32-bit virtual machines, the process memory limit is typically about 2 GB. All the direct buffer allocations triggering these crashes seem to be using methods in the BufferUtils class of LWJGL to allocate buffers, though the same type of OutOfMemoryError can be triggered by calling the allocateDirect( int ) method of the ByteBuffer class (which the aforementioned methods in BufferUtils call) directly. The larger the maximum heap size, the less memory can be allocated to direct buffers without triggering this type of crash. Although the maximum heap size affects this problem as mentioned above, neither the initial heap size nor the current heap size seem to affect it. Generally, less memory can be allocated to a few large direct buffers than several smaller ones without triggering this type of crash. This is due to memory allocated for a single direct buffer being required to be contiguous (all in one chunk). There are additional minor differences in the sums of the maximum heap size and the maximum amount of memory that can be allocated to direct buffers without triggering this, most likely due to variations in the amount of memory allocated for other uses outside the heap. If a garbage collection call (possibly certain other method calls also) is made while extremely close to the process memory limit, it can trigger a virtual machine crash due to being out of memory, producing a Java crash log. These crash logs suggest some possible solutions, a few of which are similar to what has been mentioned already in this thread.Due to observations 3 - 6 above, the reported memory usage of the client when the crashes occur can vary, but it should be less than the process memory limit. As mentioned in observation 7 above, here are the possible solutions from a Java crash log:# Possible solutions:# Reduce memory load on the system# Increase physical memory or swap space# Check if swap backing store is full# Use 64 bit Java on a 64 bit OS# Decrease Java heap size (-Xmx/-Xms)# Decrease number of Java threads# Decrease Java thread stack sizes (-Xss)# Set larger code cache with -XX:ReservedCodeCacheSize=Using a 64-bit version of Java on a 64-bit operating system has been suggested repeatedly, as has trying lowering settings to reduce memory usage, and I've suggested that reducing the heap size may help those using 32-bit versions of Java in my previous posts in this thread. I'm doubtful about the other possible solutions there helping much in this situation, though.At this point, I believe that there is a memory leak involving direct buffers. It may be affected by client settings. Here are my thoughts and recommendations:Players on 64-bit Operating SystemsEnsure that you are running the Wurm Online client using a 64-bit version of Java. If you then get OutOfMemoryErrors complaining about direct buffer memory, you can increase the memory available for direct buffers as I explained in this thread:http://forum.wurmonline.com/index.php?/topic/81882-javalangoutofmemoryerror-direct-buffer-memory/?p=817256If you still encounter crashes from running out of direct buffer memory with 1600 MB of memory for direct buffers, lower client settings to try to reduce memory usage.Players on 32-bit Operating SystemsYou can probably reduce this problem's frequency by adjusting the maximum heap size and the maximum direct buffer memory size. If you encounter this type of OutOfMemoryError (with a null error message, triggered by failing to allocate direct buffers), reduce the sum of the maximum heap size and maximum direct buffer memory size, preferably by reducing the maximum heap size. If you get OutOfMemoryErrors complaining about direct buffer memory, increase the memory available for direct buffers. If you get OutOfMemoryErrors complaining about Java heap space, increase the maximum heap size. It will take a while to get the balance of memory right. If the maximum direct buffer memory size is not specified explicitly, it is most likely (but not necessarily, depending on the Java virtual machine) the same as the maximum heap size.If you can't seem to get the memory balanced just right to avoid the crashes entirely, at least get it to a point where the only OutOfMemoryErrors you are encountering are due to running out of direct buffer memory, and then lower client settings to try to reduce memory usage.Lowering Settings to Reduce Memory UsageWhile I don't know the details on how exactly direct buffers are used in the Wurm Online client, I do know that they're typically used for file I/O for improved performance and are used by LWJGL. I would guess that it's likely they're used for models, textures, animations, and/or sound, and they could possibly be used for other things as well. It stands to reason that less data would tend to be needed by the client for rendering less things around you, so reducing rendering distances could reduce memory usage. Also, shadows and reflections can make significant differences in memory usage. With that in mind, here are my recommendations to reduce memory usage:Try disabling sound, shadows, reflections, and animations and reducing texture sizes/resolutions and rendering distances to their minimums. You can later try turning the settings back up individually (so you can observe whether each change causes the crashes to return) to make things seem nicer if you get the crashing to stop. 1 Share this post Link to post Share on other sites