After some digging in this MAX_GROUPS issue , we found the root cause may be the scenes information management strategy in current Z-stack. As we know, CC2530 has only 8KB RAM, a typical 4 endpoints HA sample light will use more than 7KB RAM. We try to support 64 groups and 64 scenes for all 4 endpoints, but the stack stores scenes information in RAM and read/write as a whole NV item when add/remove scene command received (see zcl_general.c for reference). This means 64 scene record will eat at least 64*46bytes = 2944bytes RAM when reaching the max capacity. So it is not supprised that when add some more scenes will cause the unresponsive issue. I also have doubt about the group information storage method. Although I haven't found the exact code (because aps_groups.c is not open source) related with groups management, the test result shows more groups will cause more RAM usage after it loads them from NV ROM. We are considering mod the scenes NV access interface for more efficient RAM usage to solve this issue.Before that, I want to know if anybody has ever encountered it and may have an existed solution.