Process finished with exit code -1073741819 (0xC0000005) when spying sparse matrices in python

Viewed 17

I created a csc matrice with

 part1_csc=csc_array((data,indice,indptr),shape=(count,count))

and it works fine, no error reports of any sort

but when I try to use plt.spy to visualize the sparse matrix

plt.spy(part1_csc)
plt.show()

The program finishes with exit code -1073741819 (0xC0000005).

I don't know if it's the problem of the (data, indice, indptr) I used to create the csc sparse matrix, or the problem of the matrix being too large (approximately 80000 x 80000 with 300000 nonzeros)

0 Answers
Related