#Dynmap Blockscan Loading Models Crash

1 messages · Page 1 of 1 (latest)

hidden meadow
#

I ran my configuration.txt. file through chat gpt and https://www.yamllint.com/ and it says i'm all good, but it continues to give me the same errors

"org.dynmap.snakeyaml.parser.ParserException: while parsing a block mapping"

in 'reader', line 16, column 1:
deftemplatesuffix: hires
^
expected <block end>, but found '<scalar>'
in 'reader', line 325, column 2:
Title for the web page - if not ...
^
It says these two lines are wrong, however i didn't change them at all.

silver laurelBOT
#

Before we get started, please tell us a bit about your server setup:

#

Before we get started, please tell us a bit about your server setup:

hidden meadow
#

I'm on 1.20.1. I don't see it listed.

silver laurelBOT
#

Thank you! Please provide any errors you are experiencing and upload your configuration.txt. Someone from our <@&1086854037040812224> team will respond to help shortly. As a general reminder, everyone on our support team is a volunteer, please be kind!

hidden meadow
vague ingot
#

could be it is loading an old file? those lines are correct in the file you sent above

hidden meadow
vague ingot
#

did you try editing when the server is off?

hidden meadow
#

my bad I’m not trying to ping you haha I’ll turn that off

vague ingot
#

you can use shift+reply to auto do it

hidden meadow
hidden meadow
vague ingot
#

no, latest works fine and should always work on the version it was generated for

#

3.7-b4 that is

hidden meadow
#

yeah thats the one i have

vague ingot
#

works fine for my test-servers

hidden meadow
#

I also have Dynmap Blockscan 3.6 and MySQL-JDBC-8.0.33 so i'm not sure if thats effecting it?

vague ingot
#

you don't need the actual jdbc, rather

silver laurelBOT
vague ingot
#

the one from this ^ storage-scheme section

hidden meadow
#

I see alright let me see if i can't figure this out, I'm gonna go ahead and remove that mod

does this look right or should i change the indent?

vague ingot
#

no it doesn't look right

#

it should look like:

hidden meadow
#

Nope, it still crashes right here

vague ingot
#

that is bc of a different reason

#

you need to set the max-tick-time to -1 in server.properties while it is generating the models for the first time

#

you only need blockscan once

hidden meadow
#

Ahhh i seee, gonna try that now.

#

wait, wrong file.

#

Time: 2024-03-10 11:10:45
Description: Exception in server tick loop

java.lang.OutOfMemoryError: Java heap space
at org.dynmapblockscan.core.model.ElementRotation.<init>(ElementRotation.java:8) ~[DynmapBlockScan-3.6-forge-1.20.jar%23269!/:?] {re:classloading}
at org.dynmapblockscan.core.model.BlockElement.<init>(BlockElement.java:46) ~[DynmapBlockScan-3.6-forge-1.20.jar%23269!/:?] {re:classloading}
at org.dynmapblockscan.core.blockstate.Variant.generateElements(Variant.java:67) ~[DynmapBlockScan-3.6-forge-1.20.jar%23269!/:?] {re:classloading}
at org.dynmapblockscan.core.AbstractBlockScanBase.resolveAllElements(AbstractBlockScanBase.java:927) ~[DynmapBlockScan-3.6-forge-1.20.jar%23269!/:?] {re:classloading}
at org.dynmapblockscan.forge_1_20.DynmapBlockScanPlugin.serverStarting(DynmapBlockScanPlugin.java:193) ~[DynmapBlockScan-3.6-forge-1.20.jar%23269!/:?] {re:classloading}
at org.dynmapblockscan.forge_1_20.DynmapBlockScanMod.onServerStarting(DynmapBlockScanMod.java:81) ~[DynmapBlockScan-3.6-forge-1.20.jar%23269!/:?] {re:classloading}
at org.dynmapblockscan.forge_1_20.DynmapBlockScanMod_onServerStarting_ServerStartingEvent.invoke(.dynamic) ~[DynmapBlockScan-3.6-forge-1.20.jar%23269!/:?] {re:classloading,pl:eventbus:B}
at net.minecraftforge.eventbus.ASMEventHandler.invoke(ASMEventHandler.java:73) ~[eventbus-6.0.5.jar%2352!/:?] {}
at net.minecraftforge.eventbus.EventBus$$Lambda$4579/0x00000008017dc408.invoke(Unknown Source) ~[?:?] {}
at net.minecraftforge.eventbus.EventBus.post(EventBus.java:315) ~[eventbus-6.0.5.jar%2352!/:?] {}
at net.minecraftforge.eventbus.EventBus.post(EventBus.java:296) ~[eventbus-6.0.5.jar%2352!/:?] {}
at net.minecraftforge.server.ServerLifecycleHooks.handleServerStarting(ServerLifecycleHooks.java:110) ~[forge-1.20.1-47.2.0-universal.jar%23336!/:?] {re:mixin,re:classloading}
at net.minecraft.server.dedicated.DedicatedServer.m_7038
(DedicatedServer.java:201) ~[server-1.20.1-20230612.114412-srg.jar%23331!/:?] {re:computing_frames,pl:accesstransformer:B,re:classloading,pl:accesstransformer:B}
at net.minecraft.server.MinecraftServer.m_130011
(MinecraftServer.java:634) ~[server-1.20.1-20230612.114412-srg.jar%23331!/:?] {re:mixin,pl:accesstransformer:B,xf:fml:openpartiesandclaims:xaero_pac_minecraftserverclass,re:classloading,pl:accesstransformer:B,xf:fml:openpartiesandclaims:xaero_pac_minecraftserverclass,pl:mixin:APP:kubejs-common.mixins.json:MinecraftServerMixin,pl:mixin:APP:kubejs-common.mixins.json:inject_resources.MinecraftServerMixin,pl:mixin:APP:otyacraftengine-common.mixins.json:MinecraftServerMixin,pl:mixin:APP:balm.mixins.json:MinecraftServerMixin,pl:mixin:APP:neruina-common.mixins.json:MinecraftServerMixin,pl:mixin:A}
at net.minecraft.server.MinecraftServer.m_206580_(MinecraftServer.java:251) ~[server-1.20.1-20230612.114412-srg.jar%23331!/:?] {re:mixin,pl:accesstransformer:B,xf:fml:openpartiesandclaims:xaero_pac_minecraftserverclass,re:classloading,pl:accesstransformer:B,xf:fml:openpartiesandclaims:xaero_pac_minecraftserverclass,pl:mixin:APP:kubejs-common.mixins.json:MinecraftServerMixin,pl:mixin:APP:kubejs-common.mixins.json:inject_resources.MinecraftServerMixin,pl:mixin:APP:otyacraftengine-common.mixins.json:MinecraftServerMixin,pl:mixin:APP:balm.mixins.json:MinecraftServerMixin,pl:mixin:APP:neruina-common.mixins.json:MinecraftServerMixin,pl:mixin:A}
at net.minecraft.server.MinecraftServer$$Lambda$28789/0x00000008037f0448.run(Unknown Source) ~[?:?] {}
at java.lang.Thread.run(Unknown Source) ~[?:?] {}

A detailed walkthrough of the error, its code path and all known details is as follows:

silver laurelBOT
hidden meadow
vague ingot
#

it triggered on the 0s in the lambda

#

but indeed looks like you need more ram

hidden meadow
#

also i hope that didn't ping you, i hit the off button

vague ingot
#

it did, otherwise you wouldn't get a bot reaction

#

I think 6gs total should work, but the more the merrier untill like 16 ish gigs, then, if not having a big server, you will not need more

hidden meadow
#

Alright, i just got some more ram so i'm gonna see if it works now 🙏

#

and yeah my bad man, i'll just stop using the reply feature for now 💀

#

not sure if this is normal

vague ingot
#

it sadly is

#

because some mods don't adhere to the vanilla way of showing colours on a block, dynmap cannot make sense of those

hidden meadow
vague ingot
#

🤞

hidden meadow
#

Okay, i'm in. starting full render.

#

it says its rendering, but theres nothing on the map.

hidden meadow
#

well, in any case i think i got it working now. It was black, but when i reinstalled the mysql jdbc thing it started working again. Its only 2d atm, so hopefully the 3d works too,

vague ingot
#

did you install the MySQL-JDBC-8.0.33 or Kosmolot's MySQL mod?

hidden meadow
#

oop sorry

#

the 3d map still isn't quite rendered but the flat one seems to be going well

#

btw i just wanna say thank you, i probably wouldn't have been able to do this without you so i really do appreciate you helping 🙏 i'm still new to this kind of stuff

vague ingot
#

no worries, that is what we are here for

vague ingot
hidden meadow
#

Now i'm having a new issue :( whenever i type the render command, nothing appears. Not in the chat, not on the site, nothing happens.

#

even if its just for one tile render, it acknowledges the command but does absolutely nothing

#

doesn't even say its finished

vague ingot
#

what is the output of /dynmap stats and /dynmap pause?

hidden meadow
vague ingot
#

ah, there is your answer

hidden meadow
#

tps paused?

vague ingot
#

yep, your tps is below the set threshold of 18

hidden meadow
#

can i change that or what i should i do 💀

vague ingot
#

it is better to find the reason as to why it is lagging

#

at what resolution are you rendering and with what settings?

hidden meadow
#

the reason its lagging is cause dynmap is using at least 4 gigs of ram 😭

hidden meadow
vague ingot
hidden meadow
#

ik i'm sorry man its like habit

vague ingot
#

that is normal for a fullrender, it is just because it needs to render that data

hidden meadow
#

i assumed so

vague ingot
#

you can decrease the render speed, but it is already slow as is

hidden meadow
#

Would lowering the quality slightly make a noticable difference? or would it just be best to slow the speed?

vague ingot
#

I don't think it matters much

hidden meadow
#

im trying to disable the render but its not liking it

vague ingot
#

cancel or disable?

hidden meadow
#

cancel

vague ingot
#

/dynmap cancelrender <worldname>

silver laurelBOT
hidden meadow
#

yeah its just called world, its not working

#

i did /dynmap cancelrender world

#

and nothing happens, not even in server console

vague ingot
#

it should, as soon as the tps clears up and becomes higher again

hidden meadow
#

The server is running at 10gb of ram right now

vague ingot
#

its world flat, not world:flat :D

hidden meadow
#

i got this when i typed that, but when type it without the :flat part, it just returns nothing

#

yeah ik i tried both ways 😭

vague ingot
#

strange, maybe a restart works and then a cancelrender as soon as it boots?

hidden meadow
#

I'll try that

#

I'm not quite sure whats going on

vague ingot
#

I think the render is succesfully canceled

#

can you send over your latest configuration.txt in a pastebin?

hidden meadow
#

i think i did it? I've never used pastebin before so.

vague ingot
#

try to lower the tiles-rendered-at-once to 1, that might clear up the concurrent ram usage

#

and maybe increase the renderaccelerateinterval from 0.2 to 1 or sth

hidden meadow
#

done. restarting now.

#

after it restarts should i try the fullrender?

#

it was working fine for a little while, but theres was some issues so i was gonna restart the render, did the purgemap command, and since then its been using way too much ram and tweaking. swear to you it was working just fine for like an hour.

#

yeah its still using a diabolical amount of ram.

vague ingot
#

that's strange, maybe shutdown the server, backup the configuration folder, delete the original config folder and the jar, get a new one from our download pages, and retry?

hidden meadow
#

my bad man i wish i could disable that by default

hidden meadow