I have problem with calling function multiple times in go exported to dll. Calling it e.g 80 000 times cause stack overflow. Is there any way to avoid it? Can i clear stack or heap after function call?
//export GetNum
func GetNum(DeviceType uint32, DeviceInd uint32, CANInd uint32) int {
return 0
}