discuss@lists.openscad.org

OpenSCAD general discussion Mailing-list

View all threads

Controlling memory usage

BW
Barnet Wagman
Wed, Sep 5, 2018 6:47 PM

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

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
HL
Hans L
Thu, Sep 6, 2018 12:45 AM

$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
On Wed, Sep 5, 2018 at 1:48 PM Barnet Wagman bdwgen@gmail.com wrote:

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
Discuss@lists.openscad.org
http://lists.openscad.org/mailman/listinfo/discuss_lists.openscad.org

$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 On Wed, Sep 5, 2018 at 1:48 PM Barnet Wagman <bdwgen@gmail.com> wrote: > > 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 > Discuss@lists.openscad.org > http://lists.openscad.org/mailman/listinfo/discuss_lists.openscad.org