Group Abstract Group Abstract

Message Boards Message Boards

0
|
6.2K Views
|
2 Replies
|
2 Total Likes
View groups...
Share
Share this post:

3D interpolation, memory problem?

Posted 10 years ago

Trying to interpolate rather huge 3D unstructured grid of ~200k nodes using:

Interpolation[Table, InterpolationOrder -> 1]

At first execution works well, but then gives errors:

TetGenTetrahedralize::err: Tetrahedralize returned an error. >>
TetGenDelaunay::tetinst: A TetGen instance could not be created. >>
Interpolation::umesh: Unable to find a mesh from the points {{-0.12181,-0.02508,0.},<<191977>>} for interpolation. >>

Kernel restart solves problem, but I just cannot read input data files each time.

May be RAM memory issue, not sure, not an expert on this.

(MathKernel gets 1.5Gb RAM, whereas more than 40Gb are free).

Any ideas? Thanks.

POSTED BY: Artemiy Shamkin
2 Replies

As a side note, when doing memory intensive computations, you usually want to clear any cached values: http://reference.wolfram.com/language/ref/ClearSystemCache.html

and set the history length to 0

$HistoryLength =0 
POSTED BY: Sean Clarke

It's hard to say without knowing more about the data.

I see in your example that the variable is named Table. Table is a built in function. You can't use it as a variable.

One thing you might try is to run it with MemoryConstrained/MemoryInUse and see how much memory is used by how many datapoints.

POSTED BY: Sean Clarke
Reply to this discussion
Community posts can be styled and formatted using the Markdown syntax.
Reply Preview
Attachments
Remove
or Discard