James Seibel
4f3e867e0b
Fix chunk update queue max count for multiplayer player counts
...
also fix variable/logging
2025-01-04 09:42:05 -06:00
James Seibel
476b96bca6
prevent infinitely growing memory when rapidly changing between dimensions
2025-01-04 09:40:32 -06:00
James Seibel
6a9986ccd3
Move networked chunk updating to the LodBuilder thread
...
This is done both to prevent starvation, infinitely growing tasks/memory, and simplify the AbstractDhServerLevel.updateDataSourcesAsync() method.
2025-01-04 09:40:01 -06:00
James Seibel
4dd2faad67
Hide disableUnchangedChunkCheck from the UI
2025-01-04 09:31:52 -06:00
James Seibel
9622fc3bd7
Use soft references in array pool to prevent some memory crashes
...
Also log if there isn't enough memory
2025-01-04 09:31:42 -06:00
James Seibel
31490f97b9
add missing "this" to QuadElementBuffer
2025-01-04 09:02:50 -06:00
James Seibel
cc006ebb5d
limit queued render section loading to fix memory ballooning
2025-01-04 09:02:29 -06:00
James Seibel
184f261d6b
Add deprecated Purge to RateLimitedThreadPoolExecutor
2025-01-04 08:58:33 -06:00
James Seibel
770fc10cdf
Add missing types to GLEnums.getString()
2025-01-03 15:58:27 -06:00
James Seibel
aa8659f62d
Fix sqlite memory leaks
2025-01-03 14:46:53 -06:00
s809
5c03c6d99d
Check for updates on launch on dedicated servers
2025-01-03 00:30:03 +05:00
s809
56e430dff2
Rename serversideShortName to chatCommandName
2025-01-02 19:42:57 +05:00
s809
3648c83b2a
Convert section pos to readable format in one of logs
2025-01-01 21:24:15 +05:00
s809
3b1f49e0b7
Group related /dh config commands
2025-01-01 19:59:35 +05:00
s809
fb78b68b96
Use correct world folder name in LAN level key prefix
2025-01-01 18:13:21 +05:00
s809
38611237ac
Remove renderDistanceRadius from server config
2025-01-01 18:12:45 +05:00
James Seibel
2bbc2440fb
Add validateBufferIdsBeforeRendering config
2024-12-31 09:08:10 -06:00
James Seibel
570b7d1757
Potentially fix EXCEPTION_ACCESS_VIOLATION rendering crash
...
Fixes a race condition where a OpenGL buffer ID may be deleted after it has been created for a different buffer object.
2024-12-31 09:07:14 -06:00
James Seibel
6d6d142cf3
Add logging when a repo has finished closing
2024-12-30 20:44:28 -06:00
James Seibel
6c23990be2
Add number formatting to migration progress log
2024-12-30 20:44:06 -06:00
James Seibel
cd91ba50b9
handle corrupted inputs
2024-12-28 09:15:58 -06:00
James Seibel
8511d6e6b8
Add networking thread pool to F3 screen
2024-12-28 09:15:24 -06:00
James Seibel
64b26f0267
Fix typo preventing threadpools from running
2024-12-27 18:11:51 -06:00
James Seibel
31a65d1ce5
Merge branch 'main' of gitlab.com:distant-horizons-team/distant-horizons-core
2024-12-27 08:47:33 -06:00
James Seibel
1e3b20a672
Increase default thread preset LOW -> BALANCED
2024-12-27 08:47:03 -06:00
James Seibel
607dbdbc08
Fix f3 screen thread run time "<"
2024-12-27 08:46:46 -06:00
James Seibel
6135bdf67c
Only have a single thread config
...
This means that CPU use will be a lot more consistent since all internal thread pools share a single thread count semaphore.
2024-12-27 08:46:32 -06:00
s809
723d93428b
Respond to incompatible packets so the client is able to display an error in F3
2024-12-27 17:05:01 +05:00
s809
9447510354
Fix failed counter working incorrectly
2024-12-27 15:00:06 +05:00
James Seibel
81654123d8
Fix phantomArrayList lock overhead for large thread counts
2024-12-26 16:27:56 -06:00
s809
cde804820e
Fix null pointers when generation is disabled
2024-12-26 16:08:17 +05:00
s809
29aa50fbd6
Revert "roll back part of "Prune world gen tasks above limit in multiplayer""
...
This reverts commit 49da0e09
2024-12-26 13:57:49 +05:00
s809
1154f23f16
Revert "re-calculate LodRenderSection missing pos every minute"
...
This reverts commit 7270eb8fe2 .
2024-12-26 13:53:21 +05:00
s809
8904872b85
Use library provided method for filling *ArrayLists
2024-12-25 23:12:47 +05:00
s809
5dd52d3a0f
Fix full data source decoding failures
2024-12-25 23:11:55 +05:00
James Seibel
810172346f
Fix DH preventing server shutdown on close
2024-12-25 09:04:42 -06:00
James Seibel
248f6db82e
Fix rare null pointer race condition
2024-12-24 08:12:11 -06:00
James Seibel
0ca2b2f282
minor data point ID map optimization
2024-12-23 21:40:55 -06:00
James Seibel
4d7d8cc3c0
optimize DTO memory reading
2024-12-23 20:44:34 -06:00
James Seibel
2154e53898
Add F3 screen toggling configs
2024-12-22 09:17:31 -06:00
James Seibel
75273be90a
Massively optimize array pooling
...
Separating pools for each object/use case prevents infinitely growing arrays (also the column render source fix in 481e0411ac prevents infinitely allocating arrays)
2024-12-22 08:43:47 -06:00
James Seibel
481e0411ac
Fix array leaks in LodrenderSection loading
2024-12-22 08:03:25 -06:00
James Seibel
4d8469c486
Fix F3 menu showing incorrect pooled memory size
2024-12-21 13:06:35 -06:00
James Seibel
3d866c480f
Add config assumePreExistingChunksAreFinished
2024-12-20 15:25:31 -06:00
James Seibel
61a06c87c2
Fix F3 menu typo
2024-12-20 15:24:18 -06:00
James Seibel
7ab2f49f01
Rename worldGen Tasks F3 row to avoid confusion
2024-12-20 14:22:11 -06:00
James Seibel
e6ceba63f7
Fix null pointer in DataSourceHandler error handler
2024-12-20 13:49:17 -06:00
James Seibel
0ba030e4aa
Repo and Obj Pool rewrite
...
This should provide a significant reduction in garbage generated, reducing GC pressure.
2024-12-20 13:38:44 -06:00
James Seibel
7e0c10a516
add StringUtil.convertBytesToHumanReadable()
2024-12-19 17:26:16 -06:00
James Seibel
7c8c4fa6e7
minor DataTransformer optimization
2024-12-19 08:28:39 -06:00