jeheydorn / nortantis

Nortantis is a fantasy map generator. It uses a simple tectonic plate simulation to create islands and continents with trees, rivers, and mountains. The result has the appearance of an old-fashioned hand-drawn map.
GNU Affero General Public License v3.0
70 stars 19 forks source link

Memory allocation issues #5

Closed amatsune closed 5 years ago

amatsune commented 5 years ago

I tried alocating more memory but got this error: Error occurred during initialization of VM Could not reserve enough space for 2048000KB object heap

(my machine has 8GB, so shouldnt be a problem)

Noticed that it runs in 32bit Minecraft runs in 64bit and is able to use up 4 or more with no issues.

jeheydorn commented 5 years ago

You need to be running 64-bit Java to allocate more than about 2 GB of memory for the Java virtual machine.

On Sat, Mar 23, 2019, 7:40 AM amatsune notifications@github.com wrote:

I tried alocating more memory but got this error: Error occurred during initialization of VM Could not reserve enough space for 2048000KB object heap

(my machine has 8GB, so shouldnt be a problem)

Noticed that it runs in 32bit Minecraft runs in 64bit and is able to use up 4 or more with no issues.

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/jeheydorn/nortantis/issues/5, or mute the thread https://github.com/notifications/unsubscribe-auth/AHG-KfAQeQ0VIvKUxjLES7cGWIA98bPgks5vZiC8gaJpZM4cE5Hp .

amatsune commented 5 years ago

Well, the program wasn’t running in 64 for whatever reason. Reinstalled both versions of java and it works now