Debbuging crashed gdb: virtual memory exhausted

I am currently using GCC.
When I debug a programme, I get the following error message:
internal-error: virtual memory exhausted: can’t allocate 4064 bytes.

**/mnt/workspace/workspace/GCC-10-pipeline/jenkins-GCC-10-pipeline-338_20211018_1634516203/src/gdb/gdb/utils.c:671: internal-error: virtual memory exhausted: can’t allocate 4064 bytes. **

I use the following settings:
The board is an Nucleo STM32F439ZI.
Mbed Studio 1.4.3 - All Tools Updated
Mbed OS 6.8.0
Host OS: Windows 10

How can I fix this error ?
Many thanks in advance for your help