mac: Wi-Fi process that uses up to 16 GB of memory

Sometimes, when I change the Wi-Fi network or connect to a VPN through Global Protect, the memory usage of my Wi-Fi goes off and my fans go crazy. Why?

enter the description of the image here

This screenshot is one of the worst moments in which it has happened, the use is not always consistent, sometimes it is 2GB, sometimes 6GB, etc.

Macbook Basic Pro 13 "2017 – Mojave 10.14