bradp Posted December 21, 2009 Posted December 21, 2009 We are downloading our nc program as Prog1 all the time. After 2-3 days we get an "Out of Memory" error. In Taskmanager we can see that used memory is 253 MB but Prog1 does not show up. We can download a small Prog1 < 3 MB but if we try to download a bigger one we get the Out of Memory error. The only way to delete the used memory is to shut down and start again.
bradp Posted December 21, 2009 Author Posted December 21, 2009 I think you have to be loading another program (pmc, plc, kin) at least sometimes in between. What we have is a linear buffer. Once you download a program is has taken a chunk of memory. When you load it again we erase that program but we always load at the end of memory. Here is an example of the memory with 3 programs loaded prog 1, prog 2, prog 3 Prog1 (1kb) Prog2 (2kb) Prog3 (3kb) Now you decide to only load program 2. Here is what you get in memory Prog1 (1kb) unused (2kb) Prog3 (3kb) Prog2 (2kb) Now you decide to only load program 2. Here is what you get in memory Prog1 (1kb) unused (2kb) Prog3 (3kb) Prog2 (2kb) Now you decide to only load program 1. Here is what you get in memory unused (1kb) unused (2kb) Prog3 (3kb) Prog2 (2kb) Prog1 (1kb) Now you reset with $$$, $$$***, or power cycle. Memory gets cleared and projpp reloads so you end up with. Prog1 (1kb) Prog2 (2kb) Prog3 (3kb) So some other program must also be getting loaded at least once in awhile to eat the memory.
Recommended Posts