C:\xampp\htdocs\magento-ce-2.4.1-2020-09-25-04-08-02>php bin/magento setup:di:compile
Compilation was started.
Repositories code generation... 1/9 [===>------------------------] 11% 4 secs 96.0 MiB
Fatal error: Allowed memory size of 134217728 bytes exhausted (tried to allocate 32768 bytes) in C:\xampp\htdocs\magento-ce-2.4.1-2020-09-25-04-08-02\vendor\magento\module-customer\Block\Adminhtml\Edit\Tab\View\Wishlist.php on line 1
Check https://getcomposer.org/doc/articles/troubleshooting.md#memory-limit-errors for more info on how to handle out-of-memory errors.
I have tried in all directions...
php -d memory_limit=5G bin/magento setup:di:compile
Or you need to increase memory in php.ini