0 votes

Hi,
I'm trying to create a strategy game. It is voxel-based. Here is an example of what I have:

enter image description here

This is a radius 5 "circle".

I tried to create a radius 100 but I get an error regarding memory. The algorithm creates a big Array with all the translation. Then I thought that the Array was too big, so I decided to do another algorithm, something like a "generator", so I do not need to save all the Vector3 in an Array. The previous image was generated with that algorithm. But the problem persists. The error is:

ERROR: All memory pool allocations are in use.
at: (./core/pool_vector.h:512)

There are not overlaped voxels. The maximum radius I can achieve is 73.

I get the next information from the editor in the 73 limit:
enter image description here

And from the Windows Task Manager:
enter image description here

So it seems that there is some limitation to the memory that Godot can handle.

Godot version Godot Engine v3.4.stable.official.206ba70f4
in Engine by (238 points)

Same error but not same solution.

1 Answer

0 votes

It seems that is a Godot problem, I posted the issue in the Github page.

Hopefully will be solved in future versions, 3.5 and/or 4.

by (238 points)
Welcome to Godot Engine Q&A, where you can ask questions and receive answers from other members of the community.

Please make sure to read How to use this Q&A? before posting your first questions.
Social login is currently unavailable. If you've previously logged in with a Facebook or GitHub account, use the I forgot my password link in the login box to set a password for your account. If you still can't access your account, send an email to webmaster@godotengine.org with your username.