I noticed that 2 threads running over the build in task scheduler only use around 100 MB of ram on my server. This seems to be very low, so I wonder if the tasks are running remotely on some BAS Server or on my own?
Open developer tools in your own browser and look at the network tab. Click on the requests and click Block Request then refresh (Right click refresh button and reload without cache)
Keep blocking images and scripts until the website stops working
Take that list of blocked stuff and put it in your script using Request Mask Deny