zerop Posted November 16, 2016 Posted November 16, 2016 According to the specs the ISY994i Pro has a limit of 1,000 programs. Has anyone reached that limit? What happens? Are you just not able to create new programs? Or can you create new programs but only 1,000 of them will execute? I ask because I think I have 1,004 programs (not totally sure if my counting method is accurate). I didn't actually count I copied to clipboard all programs and pasted it into Excel. I then searched/counted how many cells have "-----------------------------------------------------------------------------------" as it looks like that line is before every program after you paste it into Excel.
stusviews Posted November 18, 2016 Posted November 18, 2016 Maybe no one has reached that limit. so I'll ask you the same questions, what happens? Are you just not able to create new programs? Or can you create new programs but only 1,000 of them will execute?
MikeD Posted November 18, 2016 Posted November 18, 2016 I found this answer from Michel in a search. http://forum.universal-devices.com/topic/14915-isy-program-scene-memory-limitations/?p=125848 ~Mike
zerop Posted November 18, 2016 Author Posted November 18, 2016 (edited) Maybe no one has reached that limit. so I'll ask you the same questions, what happens? Are you just not able to create new programs? Or can you create new programs but only 1,000 of them will execute? If my way of counting them is correct then I have 1,004 programs. They all seem to work...I think. I can still create new ones as well. If I move to v5 I could probably get rid of half my programs but I'm waiting for it to be an official release. Edited November 18, 2016 by zerop
Chris Jahn Posted November 19, 2016 Posted November 19, 2016 Hi Guys, The ISY will not let you can create more that 1023 programs + folders combined. There is a large pool of memory available for program content itself, and it should be sufficient for 1023 programs unless you have a lot exceedingly long programs. The summary page will show '- Not Loaded -' for a program if it could not be loaded.
zerop Posted November 19, 2016 Author Posted November 19, 2016 The ISY will not let you can create more that 1023 programs + folders combined. What exactly do you mean by this? Do you mean if I had 1,000 programs I could only have 23 folders along with it? Are you saying the number of folders are included in that 1,023 count?
Chris Jahn Posted November 19, 2016 Posted November 19, 2016 What exactly do you mean by this? Do you mean if I had 1,000 programs I could only have 23 folders along with it? Are you saying the number of folders are included in that 1,023 count? Yes, the number of folders is included in that count (program folders obviously, not folders in the device tree or anything else).
zerop Posted November 19, 2016 Author Posted November 19, 2016 (edited) Yes, the number of folders is included in that count (program folders obviously, not folders in the device tree or anything else). Hmmm...I've got 1,001 programs and at least 29 folders and at least another 20 sub-folders. Everything seems to be fine. Edited November 19, 2016 by zerop
Chris Jahn Posted November 20, 2016 Posted November 20, 2016 Hmmm...I've got 1,001 programs and at least 29 folders and at least another 20 sub-folders. Everything seems to be fine. Hi zerop, I stand corrected! The limit for the longest time was 1024, but we doubled it a couple of years ago (I guess I forgot because this just doesn't come up very often). Anyway, if you ever do hit the limit, it won't actually allow you to create the program or folder.
G W Posted November 20, 2016 Posted November 20, 2016 Hi zerop, I stand corrected! The limit for the longest time was 1024, but we doubled it a couple of years ago (I guess I forgot because this just doesn't come up very often). Anyway, if you ever do hit the limit, it won't actually allow you to create the program or folder. I can't find where it's ever been brought up. All the information on the website still says 1000 is the limit. We'll just call this an unexpected and early Christmas surprise. I'm Gary Funk and I approved this message.
Chris Jahn Posted November 20, 2016 Posted November 20, 2016 I can't find where it's ever been brought up. All the information on the website still says 1000 is the limit. We'll just call this an unexpected and early Christmas surprise. ... The doubling of the number of programs is really the upper limit of total programs, but unless you have very small programs, the practical limit will likely be determined by the amount of memory available for program content. We haven't done any analysis on the average size of a program, but just guessing, I'd imagine most people would run out at about 1400 or so.
Teken Posted November 20, 2016 Posted November 20, 2016 Hi zerop, I stand corrected! The limit for the longest time was 1024, but we doubled it a couple of years ago (I guess I forgot because this just doesn't come up very often). Anyway, if you ever do hit the limit, it won't actually allow you to create the program or folder. Chris, Can you add some more clarity to this statement? As to doubling of the program limit. The doubling of the number of programs is really the upper limit of total programs, but unless you have very small programs, the practical limit will likely be determined by the amount of memory available for program content. We haven't done any analysis on the average size of a program, but just guessing, I'd imagine most people would run out at about 1400 or so. 1400 isn't exactly double the amount but its fair to say coming from 1024 vs 1400 is a nice over head and buffer for anyone!
G W Posted November 20, 2016 Posted November 20, 2016 I don't know how it can be any clearer. The upper count limit was doubled but since all programs reside in the limited memory, the size of the program limits the number of programs that can be loaded. I'm Gary Funk and I approved this message.
zerop Posted November 20, 2016 Author Posted November 20, 2016 (edited) Hi zerop, I stand corrected! The limit for the longest time was 1024, but we doubled it a couple of years ago (I guess I forgot because this just doesn't come up very often). Anyway, if you ever do hit the limit, it won't actually allow you to create the program or folder. This is great news! Thanks. I do have a (curiosity) question though. Why even put a limit on the number of programs in the beginning. Why don't you just let it be dictated by memory? Edited November 20, 2016 by zerop
G W Posted November 20, 2016 Posted November 20, 2016 This is great news! Thanks. I don't have a (curiosity) question though. Why even put a limit on the number of programs in the beginning. Why don't you just let it be dictated by memory?You have to create an array of pointers and that also takes up memory. I'm Gary Funk and I approved this message.
paulbates Posted November 20, 2016 Posted November 20, 2016 In addition to Gary's comment, the ISY has finite memory and a real time operating system. The RTOS needs dedicated memory to operate in and be protected from crashing by unmanaged features, as well as space allocated to future, to-be defined features. Paul
zerop Posted November 20, 2016 Author Posted November 20, 2016 In addition to Gary's comment, the ISY has finite memory and a real time operating system. Is there a way to see how much memory is being used by the programs or what the memory limit is? I presume it's not what is shown under the system status... Total, Reserved, Used, Bad and Free?
paulbates Posted November 20, 2016 Posted November 20, 2016 (edited) Is there a way to see how much memory is being used by the programs or what the memory limit is? I presume it's not what is shown under the system status... Total, Reserved, Used, Bad and Free? The only memory diagnostic I know of is to telnet to the ISY, login in and type SM. I'm not sure how to equate what that gives you to program memory, or if there is a way to ultimately try to plan around it. The added variable complexity to this equation is how many lines the program have. Chris has provided target upper limits, hopefully that works until you can move to V5 and reduce program count. Paul Edited November 20, 2016 by paulbates
Michel Kohanim Posted November 21, 2016 Posted November 21, 2016 Hi all, Thank you paulbates! SM -a is the correct command. With kind regards, Michel
Recommended Posts