Skip to content

Merge splitted tiles with land an sea vs Tiles 131/90 - java.lang.OutOfMemoryError #198

Closed
@bappppp

Description

@bappppp

Hello,

Thank for your dev, your project is very usefull.

Expected Behavior

No error :)

Current Behavior

Error with the tile 131/90 : "'Exception in thread "pool-2-thread-1" java.lang.OutOfMemoryError: GC overhead limit exceeded''"

Steps to Reproduce the Issue

My goal is to add some tags (drinking_water, bakery, picnic_table, toilets, & camp_site) directly in my bolt v2 (for a France's map). So i customize tags-to-keep.json and tag-wahoo.xml.
Next i launch the program : "python -m wahoomc cli -xy 131/90 -tag tag-wahoo.xml -v"
After some processing, i've an error.

Context

  • OS/Platform: Windows

Log Output / Stack Trace

INFO:--------------------------------------------------------------------------------
INFO:# Merge splitted tiles with land an sea
INFO:+ Coordinates: 131,90 (1 of 1)
DEBUG:--------------------------------------------------------------------------------
DEBUG:# Sorting land* osm files
DEBUG:subprocess:'avr. 10, 2023 10:50:13 AM org.openstreetmap.osmosis.core.Osmosis run'
DEBUG:subprocess:'INFOS: Osmosis Version 0.48.3'
DEBUG:subprocess:'avr. 10, 2023 10:50:13 AM org.openstreetmap.osmosis.core.Osmosis run'
DEBUG:subprocess:'INFOS: Preparing pipeline.'
DEBUG:subprocess:'avr. 10, 2023 10:50:13 AM org.openstreetmap.osmosis.core.Osmosis run'
DEBUG:subprocess:'INFOS: Launching pipeline execution.'
DEBUG:subprocess:'avr. 10, 2023 10:50:13 AM org.openstreetmap.osmosis.core.Osmosis run'
DEBUG:subprocess:'INFOS: Pipeline executing, waiting for completion.'
DEBUG:subprocess:'avr. 10, 2023 10:50:14 AM org.openstreetmap.osmosis.core.Osmosis run'
DEBUG:subprocess:'INFOS: Pipeline complete.'
DEBUG:subprocess:'avr. 10, 2023 10:50:14 AM org.openstreetmap.osmosis.core.Osmosis run'
DEBUG:subprocess:'INFOS: Total execution time: 749 milliseconds.'
DEBUG:+ Sorting land* osm files: OK
DEBUG:subprocess:'avr. 10, 2023 10:50:14 AM org.openstreetmap.osmosis.core.Osmosis run'
DEBUG:subprocess:'INFOS: Osmosis Version 0.48.3'
DEBUG:subprocess:'avr. 10, 2023 10:50:14 AM org.openstreetmap.osmosis.core.Osmosis run'
DEBUG:subprocess:'INFOS: Preparing pipeline.'
DEBUG:subprocess:'avr. 10, 2023 10:50:14 AM org.openstreetmap.osmosis.tagtransform.impl.TransformLoader parseTranslation'
DEBUG:subprocess:'INFOS: New translation: Adjust tunnel Layers'
DEBUG:subprocess:'avr. 10, 2023 10:50:14 AM org.openstreetmap.osmosis.core.Osmosis run'
DEBUG:subprocess:'INFOS: Launching pipeline execution.'
DEBUG:subprocess:'avr. 10, 2023 10:50:14 AM org.openstreetmap.osmosis.core.Osmosis run'
DEBUG:subprocess:'INFOS: Pipeline executing, waiting for completion.'
DEBUG:subprocess:'Exception in thread "pool-2-thread-1" java.lang.OutOfMemoryError: GC overhead limit exceeded'
DEBUG:subprocess:'at org.openstreetmap.osmosis.core.domain.v0_6.TagCollectionImpl.<init>(TagCollectionImpl.java:27)'
DEBUG:subprocess:'at org.openstreetmap.osmosis.core.domain.v0_6.CommonEntityData.<init>(CommonEntityData.java:78)'
DEBUG:subprocess:'at org.openstreetmap.osmosis.core.domain.v0_6.CommonEntityData.<init>(CommonEntityData.java:56)'
DEBUG:subprocess:'at org.openstreetmap.osmosis.pbf2.v0_6.impl.PbfBlobDecoder.processNodes(PbfBlobDecoder.java:198)'
DEBUG:subprocess:'at org.openstreetmap.osmosis.pbf2.v0_6.impl.PbfBlobDecoder.processOsmPrimitives(PbfBlobDecoder.java:348)'
DEBUG:subprocess:'at org.openstreetmap.osmosis.pbf2.v0_6.impl.PbfBlobDecoder$$Lambda$3/1115071557.accept(Unknown Source)'
DEBUG:subprocess:'at java.util.Optional.ifPresent(Unknown Source)'

Thank for your helps, i can give you more informations if you need.
Or tell me, if i'm doing wrong :)

BR,

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions