@JonB sorry for long reply
debug size is 29.5M
release size is 18.3M
Free memory always a more than needed PC have 16Gb ram. Also i checked swap, swap is newer used for last days. So problem is not here.
Next step i will check all dlls one by one in tes Win32 pure C application, maybe problem is here.
no cpecific initial code ... but as u can see a lot of dependencies.. In linux exist LD_PRELOAD key but there is no solution for windows i found.
Thanks for response, if i found any solution or reason i'll report it here.