Skip to content

base: Add warning when we're at risk of running out of memory

Darryl Green requested to merge github/fork/bjackman/memory-warning into master

Created by: bjackman

Pandas doesn't seem to properly handle running out of memory, and segfaults; this gives you no useful error message.

This error probably isn't too rare, because the default Lisa config only provisions 1Gb of memory in the Vagrantfile. That means a 500k line ftrace file can cause a segfault.

I've added a hacky warning in base.py. Do you think this is appropriate? If not, we could just put this in the documentation and hope people spot the connection, and perhaps something like this hacky warning could go in Lisa instead?

Merge request reports