I have tried setting the limit in php.ini but I always get the same error:
Allowed memory size of 262144 bytes exhausted (tried to allocate 341351 bytes) in Unknown
The default php.ini file for the CLI in xampp is located in %xamppRoot%\php\php.ini not under %xamppRoot%\apache\bin\php.ini