Make sure you are explicitly destroying all objects ex. Set objport = Nothing
Don't ever depend on vbscript to do this automatically. vbscript is the engine for NSBasic. The first thing vbscript does before any operation is allocate stack space. --- In [email protected], "stewartmayer" <s...@...> wrote: > > I'm using the franson serial tools included with NSB and I've noticed > that every time I send data using objport.write there is a small > memory leak. After about 100,000 writes it adds up and I get an "out > of memory" error and the pocket pc freezes requiring a hard reset. > With my program constantly communicating this takes about an hour to > happen. > > This is a pretty major problem right now. Anyone have any experience > with this issue? > > Happy Holidays :) > --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "nsb-ce" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/nsb-ce?hl=en -~----------~----~----~----~------~----~------~--~---
