Good discussion in the comments about long term captures using tshark and/or dumpcap.
Bug 12231 - tshark uses ever increasing amount of memory https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=12231