Discussion:
[OpenSCAD] Controlling memory usage
Barnet Wagman
2018-09-05 18:47:54 UTC
Permalink
When I set $fs to its minimum ($fs=0.01) I start running into memory
problems, such as the message "WARNING: GeometryEvaluator: Node didn't
fit into cache".  The program slows down to a crawl as if it's paging.

FYI I'm running OpenSCAD version 2015.03-2 on debian 9 ('stretch'),
64-bit kernel.

I noticed that there are some cache related variables in the config
files.  Would changing any of these values help?  I haven't found any
documentation on them.

Is there a way of giving openscad more memory? I haven't seen anything
about this in the documentation or in the man page.

thanks
Hans L
2018-09-06 00:45:32 UTC
Permalink
$fs = 0.01 is pretty insane. That means the distance between each
vertex is about 1/100th of a millimeter. That's going to generate a
ton of vertices on all but the smallest, simplest models. Is there
any reason you want it so low?

I usually don't go below $fs = 0.2 on most things (depends on the
model) and that's already what I would consider pretty fine detail.

That said, if you still want to increase your cache size, you can do
so in Preferences -> Advanced -> Polyset cache size
Post by Barnet Wagman
When I set $fs to its minimum ($fs=0.01) I start running into memory
problems, such as the message "WARNING: GeometryEvaluator: Node didn't
fit into cache". The program slows down to a crawl as if it's paging.
FYI I'm running OpenSCAD version 2015.03-2 on debian 9 ('stretch'),
64-bit kernel.
I noticed that there are some cache related variables in the config
files. Would changing any of these values help? I haven't found any
documentation on them.
Is there a way of giving openscad more memory? I haven't seen anything
about this in the documentation or in the man page.
thanks
_______________________________________________
OpenSCAD mailing list
http://lists.openscad.org/mailman/listinfo/discuss_lists.openscad.org
Loading...