-
Notifications
You must be signed in to change notification settings - Fork 18
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
Java heap space OOM error and multifile processing #14
Comments
Thanks for your feedback.
I will look into 2 and report back soon. If you are able to share your datasets, I'm happy to use them in my tests. |
Thanks for your prompt reply! A workaround that seems to work for me is to run a python script that executes
|
Ok, I fixed the following issues:
Both fixes are available in the master branch (aae72a2). Could you please build a new version of |
Dear Claus,
thanks for this great tool!
There are two errors that I frequently encounter when using citygml-tools:
1) Running out of java heap space memory:
I have 8GB RAM on my machine and yet I often run OOM when using citygml-tools. I already increased the default heap space with
export _JAVA_OPTIONS="-Xmx6g"
and this helped to make this error less common, but I still encounter it when processing large files (i.e., >3GB) or multiple files (i.e., 100+ files).2) File sizes blow up when processing multiple files at once
I am trying to convert ~3k GML files (each ~100MB) to CityJSON. While it seems to be possible to convert several files at once by providing the path to the folder where they are saved, tghe file sizes of subsequent fiels increase linearly, which leads to dramatically oversized json files when processing 100+ files at once.
I would highly appreciate any advice on how to process multiple files efficiently and any hints on how to fix the above issues.
Thanks,
Moritz
The text was updated successfully, but these errors were encountered: