tillnagel / unfolding

A library to create interactive maps and geovisualizations in Processing and Java
http://unfoldingmaps.org
Other
478 stars 246 forks source link

unfoldingmap do not open mbtiles which have more than 1 MB size #176

Open ozan123456789 opened 4 years ago

ozan123456789 commented 4 years ago

I tried to open mbtiles(size 1.2 GB) file from openseamap with unfolding map java but it didn't work. It just gave me a black screen without any error message or warning.

tillnagel commented 4 years ago

What environment are you using? Processing or some other IDE? It might depend on the VM memory you set for that environment.

(Though typically it should throw an OutOfMemory exception)

ozan123456789 commented 4 years ago

I am using eclipse for java .

tillnagel commented 4 years ago

What are the settings for JVM memory? Did you increase it?

tillnagel commented 4 years ago

You could do that for whole Eclipse or as running configuration. See https://stackoverflow.com/questions/15313393/how-to-increase-application-heap-size-in-eclipse

(Again, this typically only helps when you are getting out of memory errors).

ozan123456789 commented 4 years ago

I didn't change any JVM setting. I do not know how to change it.

tillnagel commented 4 years ago

Did you try out the settings as explained in the link? Did it change anything?

ozan123456789 commented 4 years ago

It didn't work.

tillnagel commented 4 years ago

Any error messages, anything? Does it work if you are using a smaller MBTiles file?

ozan123456789 commented 4 years ago

No error message, just black screen and its steelwork on smaller MBTiles files?