Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

BlockMap GUI stops responding part way through large map render #76

Open
Kelzky opened this issue Mar 29, 2022 · 3 comments
Open

BlockMap GUI stops responding part way through large map render #76

Kelzky opened this issue Mar 29, 2022 · 3 comments

Comments

@Kelzky
Copy link

Kelzky commented Mar 29, 2022

Environment info

  • BlockMap version:
    BlockMap-cli-2.4.0.jar (2.4.1 does not do anything when I ran it)
  • Java version:
    openjdk version "17.0.2" 2022-01-18
    OpenJDK Runtime Environment Temurin-17.0.2+8 (build 17.0.2+8)
    OpenJDK 64-Bit Server VM Temurin-17.0.2+8 (build 17.0.2+8, mixed mode, sharing)
  • Operating system:
    Windows 10 Home

Description

Once the map is just over 50% rendered the program slows very quickly then stops responding completely. This is on a world that is 12k x 12k blocks. Smaller world sizes render without a problem, a random guess would be that it runs out of memory or the world is too big to render.

Steps to reproduce

  1. Use task manager to end Java
  2. Open Blockmap
  3. Select same world to render

Actual result

The same thing happens as in "Description"

Screenshots

image
This is how far the map renders before it stops responding.
image
Program continues to use resources after it has stopped responding.

Debug log

This is what happens when I try to get the debug file, apologies as I know this doesn't look helpful but I am unsure of what to put in.

WARNING: sun.reflect.Reflection.getCallerClass is not supported. This will impact performance.
Missing required subcommand
Usage: blockmap [-hvV] COMMAND
  -h, --help      Print this help message and exit
  -v, --verbose   Be chatty
  -V, --version   Print version information and exit.
Commands:
  render       Render a folder containing region files to another folder
                 through the command line interface
  render-many  Render multiple worlds using a configuration file for usage in
                 servers

This is the command line interface of blockmap. To access the GUI (if
installed), run `blockmap-gui`.```
@Kelzky Kelzky changed the title BlockMap stops responding part way through large map render BlockMap GUI stops responding part way through large map render Mar 29, 2022
@piegamesde
Copy link
Owner

It looks like your report is confusing the CLI and GUI. I'll assume that you are using the GUI, since there is a screenshot. But yes, the application does not handle huge worlds super well (it still does a lot better than other tools though), but depending on your hardware it should be able to manage some 400 region files, which roughly corresponds to the size of your world.

@Kelzky
Copy link
Author

Kelzky commented Mar 29, 2022

Ah okay, the region folder has just under 2500 files in it. This world was a SMP that we downloaded once our season ended, I'm not the owner of the world but had been tasked to find builds on it for sharing with our players. I am still able to use the program, as it's rendering the first lot of files, to grab coordinates.
Thank you so much for a quick response.

Another question while I am here, if I may, when I try to render a differemt SMP world (similar size) it states that there is an "Unknown dimension ID "minecraft:creative" which was part of a multiverse plugin. Would you know if there is a way around that? I can open a seperate issue - including the exception stacktrace if that is better?

@piegamesde
Copy link
Owner

Ouch, 2500 region files is a lot. I think my largest stress test I did had 2000 region files, and that was a few years ago before I removed parts of the caching (it was more memory efficient, but added a lot of complexity and had bugs). You may still use the CLI to render the individual images and find some tool that stitches them together somehow in order to view your world.

Multiverse support is something I'd like to have in BlockMap, however I don't use it so I need some test worlds so that I can implement it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants