# Segmentation fault in magma interface

I'm trying to use the Magma computational algebra interface to do polynomial interpolation for large lists of size 2^18. My code has the following:

```
p = magma("Interpolation(%s,%s)" % (I,V)).sage()
```

where I and V are lists each with 2^18 elements. This works just fine for smaller lists but for this size it looks like magma gets a segfault with the following error:

File "/SageMath/local/lib/python3.7/site-packages/sage/interfaces/magma.py", line 631, in set raise TypeError("Error executing Magma code:\n%s" % out) TypeError: Error executing Magma code:

Magma: Internal error

Machine type: intel64-linux

Memory usage: 49264.41MB

Segmentation fault

I know that Magma by itself can do the computation, but I would like to get it working using the Sage interface. Is this just not possible or am I doing something wrong?