Hello,
it is possible to install generator on local machine to create sitemap for your website.
In this case CPU/memory usage of sitemap generator will not affect the server. However, generator uses a "crawler" that visits your site pages, follows all found links etc, i.e. it will use website bandwidth for that.