Swig memory limit

"Kopp, Dor" <[email protected]> Mon, 21 Dec 2020 14:05:47 +0000
Newsgroups gmane.comp.programming.swig
Message-ID <BY5PR16MB310961FE9DE9D272F37245089EC00@BY5PR16MB3109.namprd16.prod.outlook.com>
I tried to use swig on windows with a large scale interface and after long time of processing I got:
Assertion failed!

Program: D:\Kopp\11.7\swigwin-4.0.2\swig.exe
File: DOH/string.c, Line 520

Expression: tc

Which point that DohRealloc() returns null. I checked the process's memory using Resource Monitor and found that the issue occurs after consuming around 2G. I though that this is happening because swig is a 32bit executable but I got the same behavior when using a 64bit executable that I compiled by myself.
What can I do in order to overcome this limitation?

_______________________________________________
Swig-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/swig-user