Skip to content
Dylan Armitage edited this page Feb 3, 2017 · 3 revisions

Welcome to the rain-rivers-lakes wiki!

This page is mostly for my notes to track limitations of the program as I discover them.

2017-02-02

A world size of 2048 patches increases memory usage beyond 1GiB limit. 1024 patches ~890MiB. (Getting the world display back to a normal size afterwards is also difficult and seems to involve some sort of wizardry at the moment.)

Every time the world is reloaded, NetLogo does not free the memory from before, and instead proceeds to just build on top of it, up to some point around the configured memory limit. For instance, with a limit of 1024MiB, with a world of 1024x1024 patches with a patch size of ~0.406, when loading the 640x640 test image the memory usage is 1.1GiB and remains there. When the limit is 2048MiB, the same conditions will yield memory usage of 1.7GiB.

However, this behavior remains even when using the 5120x5120 test image, so this seems like a fair compromise. At 5120->1024 scaling, each patch represents 25 pixels square (5px/side). This might be okay for most applications, but that will be tested later.

Clone this wiki locally