Skip to content

The maximum grid size? #180

Answered by MuellerSeb
WuJunxu asked this question in Q&A
Oct 20, 2020 · 2 comments · 1 reply
Discussion options

You must be logged in to vote

Hey there,

it is depending on the memory size of your system. For example, I have 16GB of memory installed and I don't have a problem with a grid-size of 1000*1000. The kriging matrix has a size of at least n_samples * n_samples and the right-hand-side of n_samples * n_grid_pnts.

To get an impression, have a look at the following code:

>>> import numpy as np
>>> a = np.zeros((32768, 32768), dtype=float) 
>>> a.nbytes/1024/1024
8192.0

So a numpy array of the size 2^15 * 2^15 takes 8GiB of RAM.

We are working on more memory efficient routines, but for now, you have to either down-size your input-data, or update your system-memory.

If you are on a Linux system, you could think about using a …

Replies: 2 comments 1 reply

Comment options

You must be logged in to vote
0 replies
Answer selected by MuellerSeb
Comment options

You must be logged in to vote
1 reply
@MuellerSeb
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants
Converted from issue

This discussion was converted from issue #168 on March 23, 2021 13:06.