WhatPulse bandwidth monitor causing crashes from memory allocation

Hi!

Every once in a while my WhatPulse client allocates an extreme amount of memory over the period of a minute, usually causing my computer to become unresponsive and freeze. It usually happens whenever I plug in my laptop to ethernet or use Docker, http://docker.com, which creates/uses a virtual network interface. I presume its something to do with the network part of WhatPulse based on the logs.

My computer is Xubuntu 14.04 x64, WhatPulse 2.5, with libpcap0.8. I run WhatPulse as root.

When running WhatPulse in a terminal window, stdout scrolls by fast as my RAM quickly fills up. The following from stdout is quickly repeated when the program is allocating memory:

11-04-2015 22:53:37.583 DEBUG PF-Ring thread stopped
11-04-2015 22:53:37.599 DEBUG Stopping PfRingNetworkTrafficMonitor…
11-04-2015 22:53:37.599 DEBUG PF-Ring thread started
11-04-2015 22:53:37.599 DEBUG Starting PfRingNetworkTrafficMonitor…
11-04-2015 22:53:37.599 DEBUG PF-Ring thread stopped
11-04-2015 22:53:37.619 DEBUG Stopping PfRingNetworkTrafficMonitor…
11-04-2015 22:53:37.619 DEBUG PF-Ring thread started
11-04-2015 22:53:37.619 DEBUG Starting PfRingNetworkTrafficMonitor…
11-04-2015 22:53:37.620 DEBUG PF-Ring thread stopped
11-04-2015 22:53:37.635 DEBUG Stopping PfRingNetworkTrafficMonitor…
11-04-2015 22:53:37.635 DEBUG Starting PfRingNetworkTrafficMonitor…
11-04-2015 22:53:37.635 DEBUG PF-Ring thread started
11-04-2015 22:53:37.637 DEBUG PF-Ring thread stopped
11-04-2015 22:53:37.647 DEBUG Stopping PfRingNetworkTrafficMonitor…
11-04-2015 22:53:37.647 DEBUG PF-Ring thread started
11-04-2015 22:53:37.647 DEBUG Starting PfRingNetworkTrafficMonitor…
11-04-2015 22:53:37.648 DEBUG PF-Ring thread stopped

Additionally, this is the log from app.log:

02-04-2015 20:59:17.413 INFO “Starting WhatPulse 2.5…”
02-04-2015 20:59:17.418 DEBUG “/root/.local/share/data//WhatPulse” does not exist, starting fresh!
02-04-2015 20:59:17.418 DEBUG Database file: “/root/.local/share/data/WhatPulse/whatpulse.db”
02-04-2015 20:59:17.419 DEBUG Database check: “ok”
02-04-2015 20:59:17.419 DEBUG Opened database in: 1 ms
02-04-2015 20:59:17.426 DEBUG First time database use detected, setting version to: 4
02-04-2015 20:59:32.516 INFO “Starting WhatPulse 2.5…”
02-04-2015 20:59:32.522 DEBUG Database file: “/root/.local/share/data/WhatPulse/whatpulse.db”
02-04-2015 20:59:32.523 DEBUG Database check: “ok”
02-04-2015 20:59:32.524 DEBUG Opened database in: 2 ms
02-04-2015 20:59:39.624 DEBUG Encrypted file: “/root/.local/share/data/WhatPulse/whatpulse.wpw”
02-04-2015 20:59:39.624 DEBUG Unable to open savefile
02-04-2015 20:59:39.624 WARN Failed to load ’ “/root/.local/share/data/WhatPulse/whatpulse.wpw” ’ - trying backup file
02-04-2015 20:59:39.625 DEBUG Unable to open savefile
02-04-2015 20:59:39.671 DEBUG Loaded application aliases
02-04-2015 20:59:39.847 DEBUG Started download of GeoIP Database…
02-04-2015 20:59:39.852 DEBUG WhatPulse 2.5 has started
02-04-2015 20:59:39.938 WARN Unable to find videocard in our database with vendor “8086” , device “0126” and subsys “17AA21E2”
02-04-2015 20:59:40.143 DEBUG Starting timers and collector…
02-04-2015 20:59:40.144 DEBUG Creating device listener for “/dev/input/event0”
02-04-2015 20:59:40.145 DEBUG Creating device listener for “/dev/input/event1”
02-04-2015 20:59:40.145 DEBUG Creating device listener for “/dev/input/event10”
02-04-2015 20:59:40.145 DEBUG Creating device listener for “/dev/input/event2”
02-04-2015 20:59:40.145 DEBUG Creating device listener for “/dev/input/event3”
02-04-2015 20:59:40.145 DEBUG Creating device listener for “/dev/input/event4”
02-04-2015 20:59:40.146 DEBUG Creating device listener for “/dev/input/event5”
02-04-2015 20:59:40.146 DEBUG Creating device listener for “/dev/input/event6”
02-04-2015 20:59:40.146 DEBUG Creating device listener for “/dev/input/event7”
02-04-2015 20:59:40.146 DEBUG Creating device listener for “/dev/input/event8”
02-04-2015 20:59:40.146 WARN QThread::start: Thread creation error: Resource temporarily unavailable
02-04-2015 20:59:40.146 DEBUG Creating device listener for “/dev/input/event9”
02-04-2015 20:59:40.146 WARN QThread::start: Thread creation error: Resource temporarily unavailable
02-04-2015 20:59:40.146 WARN QThread::start: Thread creation error: Resource temporarily unavailable
02-04-2015 20:59:40.147 DEBUG Starting PfRingNetworkTrafficMonitor…
02-04-2015 20:59:59.663 INFO “Starting WhatPulse 2.5…”
02-04-2015 20:59:59.669 DEBUG Database file: “/root/.local/share/data/WhatPulse/whatpulse.db”
02-04-2015 20:59:59.670 DEBUG Database check: “ok”
02-04-2015 20:59:59.670 DEBUG Opened database in: 1 ms
02-04-2015 21:00:01.482 DEBUG Encrypted file: “/root/.local/share/data/WhatPulse/whatpulse.wpw”
02-04-2015 21:00:01.482 DEBUG Unable to open savefile
02-04-2015 21:00:01.482 WARN Failed to load ’ “/root/.local/share/data/WhatPulse/whatpulse.wpw” ’ - trying backup file
02-04-2015 21:00:01.482 DEBUG Unable to open savefile
02-04-2015 21:00:01.528 DEBUG Loaded application aliases
02-04-2015 21:00:01.696 DEBUG Started download of GeoIP Database…
02-04-2015 21:00:01.711 DEBUG WhatPulse 2.5 has started
02-04-2015 21:00:01.784 WARN Unable to find videocard in our database with vendor “8086” , device “0126” and subsys “17AA21E2”
02-04-2015 21:00:01.990 DEBUG Starting timers and collector…
02-04-2015 21:00:01.991 DEBUG Creating device listener for “/dev/input/event0”
02-04-2015 21:00:01.991 DEBUG Creating device listener for “/dev/input/event1”
02-04-2015 21:00:01.991 DEBUG Creating device listener for “/dev/input/event10”
02-04-2015 21:00:01.991 DEBUG Creating device listener for “/dev/input/event2”
02-04-2015 21:00:01.992 DEBUG Creating device listener for “/dev/input/event3”
02-04-2015 21:00:01.992 DEBUG Creating device listener for “/dev/input/event4”
02-04-2015 21:00:01.992 DEBUG Creating device listener for “/dev/input/event5”
02-04-2015 21:00:01.992 DEBUG Creating device listener for “/dev/input/event6”
02-04-2015 21:00:01.993 DEBUG Creating device listener for “/dev/input/event7”
02-04-2015 21:00:01.993 DEBUG Creating device listener for “/dev/input/event8”
02-04-2015 21:00:01.993 DEBUG Creating device listener for “/dev/input/event9”
02-04-2015 21:00:01.993 DEBUG Starting PfRingNetworkTrafficMonitor…
02-04-2015 21:00:02.011 DEBUG PF-Ring thread started
02-04-2015 21:00:02.513 WARN Failed to open: “/sys/class/net/virbr0/device/vendor” or “/sys/class/net/virbr0/device/device”
02-04-2015 21:00:02.517 WARN Failed to open: “/sys/class/net/docker0/device/vendor” or “/sys/class/net/docker0/device/device”
02-04-2015 21:00:15.587 DEBUG Writing downloaded GeoIP Database into: “/root/.local/share/data/WhatPulse/GeoIP.dat”
02-04-2015 21:00:15.590 DEBUG Opening GeoIP database: “/root/.local/share/data/WhatPulse/GeoIP.dat”
02-04-2015 21:00:15.591 DEBUG Finished downloading GeoIP database!

Thanks for your help!