Jump to content

Virtualburn

Members
  • Posts

    8
  • Joined

  • Last visited

Posts posted by Virtualburn

  1. 5 hours ago, Damocles said:

    To skip this initialization step, you could start a savegame on you local machine, and let the game create the initial processed files, and checksums.

    Then upload this processed world folder to the server.

     

    The processing is only done once.

    This is a great tip.  I'll keep this in mind.

  2. Hi All,  We've been playing around with Nitrogen and created a 16k map which although was working, it was way too big and we started to get some serious lag with more than 2 players on and also the block issue from time to time marble and invisible blocks.

     

    So we decided to go for a small 10k map but no matter what I try I just get this out of memory issue when trying to load the map for the first time.  I've already increased the memory on the server as the 16k map was peaking around 18GB so there is plenty of mem available, it only hits around 7GB pak when loading the new maps.

     

    Always at the same point after 'processing World files' 
     

    2020-07-15T13:43:45 173.145 INF Started thread GenerateChunks
    2020-07-15T13:43:49 176.916 INF Calculating world hashes took 3684 ms (world size 237 MiB)
    2020-07-15T13:43:49 176.917 INF Processing world files
    OutOfMemoryException: Out of memory
      at (wrapper managed-to-native) System.Object.__icall_wrapper_ves_icall_array_new_specific(intptr,int)
      at ChunkProviderGenerateWorldFromRaw+<processFiles>d__27.MoveNext () [0x001eb] in <ebed17b6b02a42e29e545a51852d0610>:0 
      at UnityEngine.SetupCoroutine.InvokeMoveNext (System.Collections.IEnumerator enumerator, System.IntPtr returnValueAddress) [0x00027] in <5e1dfb686eb345078a588df96401afcc>:0 
     
    (Filename: <ebed17b6b02a42e29e545a51852d0610> Line: 0)

    I've tried restoring the server to a previous point and then uploading a new map.  Same issue occurs.  I'll try with an 8k map and let you know how I get on.

    [ EDIT ] Just tried with a fresh 8k map.

     

    2020-07-15T14:39:05 183.102 INF Loaded world file from different version: 'Alpha 19 (b151)'
    2020-07-15T14:39:05 183.109 INF BloodMoon SetDay: day 7, last day 0, freq 7, range 0
    2020-07-15T14:39:05 183.139 INF BloodMoon SetDay: day 7, last day 0, freq 7, range 0
    2020-07-15T14:39:48 225.612 INF Started thread GenerateChunks
    2020-07-15T14:39:50 228.258 INF Calculating world hashes took 2561 ms (world size 151 MiB)
    2020-07-15T14:39:50 228.259 INF Processing world files
    IOException: Sharing violation on path C:\SERVICES\ni1890120_1_SHARE\ftproot\sevendaysexperimental\Data\Worlds\Alisons Armpit\dtm_processed.raw
      at System.IO.FileStream..ctor (System.String path, System.IO.FileMode mode, System.IO.FileAccess access, System.IO.FileShare share, System.Int32 bufferSize, System.Boolean anonymous, System.IO.FileOptions options) [0x0019e] in <567df3e0919241ba98db88bec4c6696f>:0 
      at System.IO.FileStream..ctor (System.String path, System.IO.FileMode mode, System.IO.FileAccess access, System.IO.FileShare share) [0x00000] in <567df3e0919241ba98db88bec4c6696f>:0 
      at (wrapper remoting-invoke-with-check) System.IO.FileStream..ctor(string,System.IO.FileMode,System.IO.FileAccess,System.IO.FileShare)
      at System.IO.File.OpenRead (System.String path) [0x00000] in <567df3e0919241ba98db88bec4c6696f>:0 
      at IOUtils+<CalcCrcCoroutine>d__4.MoveNext () [0x0002b] in <ebed17b6b02a42e29e545a51852d0610>:0 
      at UnityEngine.SetupCoroutine.InvokeMoveNext (System.Collections.IEnumerator enumerator, System.IntPtr returnValueAddress) [0x00027] in <5e1dfb686eb345078a588df96401afcc>:0 
     
    (Filename: <567df3e0919241ba98db88bec4c6696f> Line: 0)

    Deleted 'dtm_processed.raw' and restarted server

     

    Well that appears to have fixed it for the 8k map.

     

    2020-07-15T15:02:06 113.892 INF createWorld: Alisons Armpit, M3NTiS Game Server, GameModeSurvivalMP
    2020-07-15T15:02:06 113.892 INF Occlusion: Disabled
    2020-07-15T15:02:07 113.947 INF Started thread ChunkRegeneration
    2020-07-15T15:02:07 113.947 INF Started thread ChunkCalc
    2020-07-15T15:02:07 114.043 INF World.Load: Alisons Armpit
    2020-07-15T15:02:07 114.074 INF BloodMoon SetDay: day 7, last day 0, freq 7, range 0
    2020-07-15T15:02:48 155.564 INF Started thread GenerateChunks
    2020-07-15T15:02:58 165.618 INF Calculating world hashes took 9967 ms (world size 663 MiB)
    2020-07-15T15:02:58 165.619 INF Processing world files
    2020-07-15T15:03:29 196.573 INF Calculating world hashes took 11864 ms (world size 791 MiB)
    2020-07-15T15:03:29 196.577 INF Loading and creating dtm raw file took 30957ms
    2020-07-15T15:03:33 200.093 INF Biomes image size w= 8192, h = 8192
    2020-07-15T15:03:36 203.780 INF Loading and creating biomes took 48165ms
    2020-07-15T15:03:46 213.575 INF Loading and creating shader control textures took 9794ms
    2020-07-15T15:03:46 213.676 INF Loading and parsing of generator took 100ms
    2020-07-15T15:03:46 213.748 INF Started thread SaveChunks C:\SERVICES\ni1890120_1_SHARE\ftproot\sevendaysexperimental\Saves/Alisons Armpit/M3NTiS Game Server\Region
    2020-07-15T15:03:49 216.031 INF [DECO] read /
    2020-07-15T15:03:49 216.079 INF Decorating chunks
    2020-07-15T15:03:51 218.212 INF AstarManager Init
    2020-07-15T15:03:53 219.987 INF Weather Packages Created FROM BIOMES
    2020-07-15T15:03:53 219.987 INF createWorld() done
    2020-07-15T15:03:53 219.993 INF Loading players.xml
    2020-07-15T15:03:53 220.082 INF Loaded player

     

×
×
  • Create New...