Yes, the resources operating systems usually kill for are memory.
No, you have not provided a reproducible example. In general, you need to do
something different, such as choose a different algorithm, run on a different
computer, or split your problem into smaller pieces.
--
Thanks for your reply.
Does what you said by resources mean memory or something else? Inside my
loop, I removed the objects that are created but not used by the next loop
and did garbage collection as well. Do you have any idea how I should
modify my code such that the system won't kill it? Thanks
Yes. Operating systems kill processes that consume excessive resources. That
excess may arise from one large computation or from a small one on top of many
other allocations... the "straw that broke the camel's back" problem.
---
I tried to use gpuCor function in the gputools package of R to calcuate the
pairwise correlations of a matrix of 40,000 columns.
Becuase there would be memory issues if I use the whole matrix at a time, I
splitted the matrix into submatrix of 10,000 columns and then calculate the
pairwise correlat
4 matches
Mail list logo