discuss@lists.openscad.org

OpenSCAD general discussion Mailing-list

View all threads

Avoiding "GeometryEvaluator: Node didn't fit into cache" Warning

NS
Nathan Sokalski
Thu, May 30, 2024 9:46 PM

When previewing my model, even small parts, I receive the following in the Console:

WARNING: GeometryEvaluator: Node didn't fit into cache.

How can I avoid this? In most cases, I don't want the cache anyway (I want it to execute the changes I made, otherwise I wouldn't be doing the Preview again). If necessary, I am willing to increase the cache size, but I don't think that is the problem, since the Console also says:

Geometries in cache: 13

Any ideas? Thanks.

Nathan Sokalski
njsokalski@hotmail.commailto:njsokalski@hotmail.com

When previewing my model, even small parts, I receive the following in the Console: WARNING: GeometryEvaluator: Node didn't fit into cache. How can I avoid this? In most cases, I don't want the cache anyway (I want it to execute the changes I made, otherwise I wouldn't be doing the Preview again). If necessary, I am willing to increase the cache size, but I don't think that is the problem, since the Console also says: Geometries in cache: 13 Any ideas? Thanks. Nathan Sokalski njsokalski@hotmail.com<mailto:njsokalski@hotmail.com>
JB
Jordan Brown
Thu, May 30, 2024 11:59 PM

I can't speak to the warning you describe.  However...

On 5/30/2024 2:46 PM, Nathan Sokalski via Discuss wrote:

How can I avoid this? In most cases, I don't want the cache anyway (I
want it to execute the changes I made, otherwise I wouldn't be doing
the Preview again).

The cache should never mean that you get stale results.  Cached objects
are used when their inputs - the shapes and operations performed on them

  • are identical to the current run.

Any instance where that isn't the case is a bug.  Any instance where
clearing the cache and refreshing yields a different result is a bug.

That said, there is a known bug:  some erroneous results are cached and
so on subsequent runs the error is not displayed.  The result should
still be the same, but without the error messages that explain why it is
not what you expect.

Please always report what version of OpenSCAD you're using, and if it's
recent enough to have Manifold report whether or not Manifold is
enabled.  We have people running builds from a roughly three-year span
(2021.01 to current) and it's important to know whether a behavior is
new or old.

I can't speak to the warning you describe.  However... On 5/30/2024 2:46 PM, Nathan Sokalski via Discuss wrote: > How can I avoid this? In most cases, I don't want the cache anyway (I > want it to execute the changes I made, otherwise I wouldn't be doing > the Preview again). The cache should never mean that you get stale results.  Cached objects are used when their inputs - the shapes and operations performed on them - are identical to the current run. Any instance where that isn't the case is a bug.  Any instance where clearing the cache and refreshing yields a different result is a bug. That said, there is a known bug:  some erroneous results are cached and so on subsequent runs the error is not displayed.  The result should still be the same, but without the error messages that explain why it is not what you expect. Please always report what version of OpenSCAD you're using, and if it's recent enough to have Manifold report whether or not Manifold is enabled.  We have people running builds from a roughly three-year span (2021.01 to current) and it's important to know whether a behavior is new or old.