Hello Rick,
That tool is a bit tricky to accurate estimate the memory requirements for. Looking at the code, the main memory demands come from:
So, at a minimum, you are looking at 58 bytes per pixel plus the size of the vector in memory. That does make this tool rather memory hungry. Now admittedly, I have not been particularly careful about memory usage when I wrote this tool and I could have done a better job of releasing bits of memory when they were no longer needed. For example, the streams vector is not used after the vector is rasterized, early on in the process. I could have dropped it at that point, but instead, it stays in memory for the whole run. I have just pushed a revised version of this tool to the Github repo that does a better job of this, which should lessen the peak memory usage of the tool, but it will still be a somewhat memory hungry tool, just due to the nature of what it is doing.
Regards,
John Lindsay
--
You received this message because you are subscribed to the Google Groups "WhiteboxTools" group.
To unsubscribe from this group and stop receiving emails from it, send an email to
whiteboxtool...@googlegroups.com.
To view this discussion on the web visit
https://groups.google.com/d/msgid/whiteboxtools/725514ca-03c4-4156-9c6e-9149ef2169dan%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.