Algorithm Posted January 22, 2008 Posted January 22, 2008 Michel or Chris, could you provide some information on the reading and interpretation of the results of the SM command in the ISY Shell? My current output is: http:///>SM Only displaying memory locations with at least on block used Cur Cur High Prev Diff Size Tot Free Used Used Used Used 24: 5328 3452 1876 1884 ( 1362) +514 32: 756 497 259 272 ( 259) 38: 65 51 14 14 ( 14) 66: 140 134 6 35 ( 16) -10 136: 300 299 1 189 ( 1) 170: 266 228 38 38 ( 30) +8 202: 4 2 2 2 ( 2) 1024: 26 25 1 9 ( 1) 1112: 13 0 13 13 ( 13) http:///>XS Quote
Chris Jahn Posted January 24, 2008 Posted January 24, 2008 This displays the current usage of some of the memory used by ISY. Its primarily intended as a development tool for us to help in debugging problems. Quote
Michel Kohanim Posted January 24, 2008 Posted January 24, 2008 Hi JAJ, It would be very difficult to explain these numbers with the object using those memory blocks. In short, the first column is the size of memory block used (in bytes) and the rest is self explanatory. With kind regards, Michel Michel or Chris, could you provide some information on the reading and interpretation of the results of the SM command in the ISY Shell? My current output is: http:///>SM Only displaying memory locations with at least on block used Cur Cur High Prev Diff Size Tot Free Used Used Used Used 24: 5328 3452 1876 1884 ( 1362) +514 32: 756 497 259 272 ( 259) 38: 65 51 14 14 ( 14) 66: 140 134 6 35 ( 16) -10 136: 300 299 1 189 ( 1) 170: 266 228 38 38 ( 30) +8 202: 4 2 2 2 ( 2) 1024: 26 25 1 9 ( 1) 1112: 13 0 13 13 ( 13) http:///>XS Quote
Algorithm Posted January 24, 2008 Author Posted January 24, 2008 Thanks for the replies. Without giving much detail about each one, does this report give a good representation of the percentage of memory used within ISY? Ie. can it be used by the user to judge memory usage? For example, in the report above, it looks like roughly 50% is used. Quote
Michel Kohanim Posted January 24, 2008 Posted January 24, 2008 Hi JAJ, Yes. For instance, you have used 228 nodes (170 byte blocks) and, as far as memory is concerned, you can support more programs. The rest are objects that are dynamically allocated and deallocated and are there only for debugging purposes. With kind regards, Michel Thanks for the replies. Without giving much detail about each one, does this report give a good representation of the percentage of memory used within ISY? Ie. can it be used by the user to judge memory usage? For example, in the report above, it looks like roughly 50% is used. Quote
Algorithm Posted January 24, 2008 Author Posted January 24, 2008 Excellent! So the 170-byte block line is the one the user is interested in, to keep an eye on memory usage. Thanks! Hi JAJ, Yes. For instance, you have used 228 nodes (170 byte blocks) and, as far as memory is concerned, you can support more programs. The rest are objects that are dynamically allocated and deallocated and are there only for debugging purposes. With kind regards, Michel Thanks for the replies. Without giving much detail about each one, does this report give a good representation of the percentage of memory used within ISY? Ie. can it be used by the user to judge memory usage? For example, in the report above, it looks like roughly 50% is used. Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.