YIIIIIIHAAAAAAA! I'm so glad because I've found the way to fix it! I finally spent 2 days to find it.
Explanation are there https://developer.motorolasolutions.com/thread/3000
From my understanding it is due to the memory limit of 32MB of the stack in debug mode. So my memory measurement was not accurate. You simply need to add this key in the registry to fix it:
and it works out.
I will definitely program all our new NetDCUA5 with this registry key enabled.