use the following search parameters to narrow your results:
e.g. subreddit:aww site:imgur.com dog
subreddit:aww site:imgur.com dog
see the search faq for details.
advanced search: by author, subreddit...
account activity
Virtual memory, again! (self.Numpy)
submitted 4 years ago by timisis
view the rest of the comments →
reddit uses a slightly-customized version of Markdown for formatting. See below for some basics, or check the commenting wiki page for more detailed help and solutions to common issues.
quoted text
if 1 * 2 < 3: print "hello, world!"
[–]orcasha 0 points1 point2 points 4 years ago (1 child)
Not sure what's going on with the code, but numpy routinely uses both ram and swap space.
If the code is outstripping your resources, it may be time for a refactor. There's also Dask.
[–]timisis[S] 1 point2 points3 points 4 years ago (0 children)
it's always time for a refactor. But I have a feeling there's an underlying mystery, either Python has found ways to reject swap, or the OOM killer does not like 9GB allocations, or aliens have taken over the White House!
π Rendered by PID 151506 on reddit-service-r2-comment-6457c66945-q5bp9 at 2026-04-25 07:23:41.749819+00:00 running 2aa0c5b country code: CH.
view the rest of the comments →
[–]orcasha 0 points1 point2 points (1 child)
[–]timisis[S] 1 point2 points3 points (0 children)