Memory Monitor
ondrovic
Posts: 217
Is there a way to monitor the memory through code? So if the memory gets low you can issue a reboot?
Thanks
Thanks
0
Comments
? what allocated memory are you going to free up with a reboot or if your using space up by writing to flash how is a reboot going to help?
Yeah that is something I will be doing on Monday thanks for the tip
When did you find this problem? I have this module installed in a system I am working on now and I just want to make sure that I have the fixed module
As for the memory leak, if you enable internal diagnostics, you should see the memory constantly dropping. If you don't see it dropping, start using the system and try to get it to start dropping. (this is the best case scenario because it's fairly easy and quick to fix). If you see it dropping when you turn on the diagnostics, start removing modules one at a time until it stops and hopefully after removing one, the memory leak will stop.
There is also a known problem when using two different duet modules on the processor. I don't remember what the lethal combination was, but hopefully the person that discovered the problem reads this. (I don't know if it was ever posted here, but it was discussed in Prog 3.) If you troubleshoot the problem and think that it is with one of the duet modules, keep this in mind.
Jeff