make wireshark drop packets that do not match filter criterion    
   i am using wireshark 3.4.8  with windows 10 pro OS .
My system is IPTV client so thousands of data packets are coming in every second on ipv4 interface on which I am running live capture.
After approximately every 127 second i get a igmp packet . 
After sometime wireshark is not able to capture packets further due to restriction in RAM and storage space which I understand is reasonable. 
Is there some way that wireshark only saves filtered packets and discards rest .
 For example after every 10 seconds - all packets not  matching filter criterion are lost forever . 
 
 
