I am sporadically getting an error 1098 API error which returns the message "unable to allocate global memory". This comes on the call of regfn() in the foxtools library when registering the WriteProfileString function. Rebooting makes it go away so I am assuming that something is using too much memory. Any known ways to avoid this error?