After using my MacBook Pro for a while, it becomes very laggy (Swap usage high) I have a decent spec MacBook Pro:
The MBP has 64GB of RAM.

This is the output of htop command after 6 days uptime:
As you can see, the Swp usage is quite high.

Note: I do have Docker and JetBrains PyCharm running often.
Is the Swp usage impacting performance, and how do I fix this?
After restart, it's fine for a while, but then reaches a critical point where even Safari lags a lot.
Update
As requested, here are some pics of Activity Monitor:
Swap usage in itself does not mean that performance is impacted.
You seem to be judging swap usage as &quot;high&quot; based on the fact that 8.19 out of 9 GB are used - however the swap size is automatically expanded as needed. So there's no real &quot;9 GB limit&quot; or anything like that - so you cannot use this as a measure for saying that swap usage is either low or high.
Your performance is impacted when things are actively being swapped in or out while you're waiting for the computer to do something. Data being swapped in/out while you're not using the computer won't hurt the performance you see, just as data being swapped out and staying there won't hurt the perceived performance.