Hallo,
die Formel die Du suchst, habe ich vor einigen Tagen in einem anderen Forum gefunden... vielleicht hifts Dir ja weiter:
This is due to a limitation the Router process has with group sizes. The total size of an expanded group is limited to 32KB (or 32768 bytes).
Calculating the group length:
The length of an expanded group incorporates the following variables:
the length (in bytes) of the group name
the length of all of the sub-group names
for each group, the length of the domain name + 1 (add one to incorporate the use of "@" when the group is stored in memory)
overhead in bytes, which equals 4 + 2*(total number of groups and subgroups)
Example 1:
Group name: TestGroup
Domain name: TestDomain
Group members: User1, User2, User3
The total length of this group = length(TestGroup) + (length(TestDomain) + 1)+ 4 + 2*1
= 9 + 10 + 1 + 4 + 2
= 26 bytes
Example 2:
Group name: TestGroup2
Domain name: TestDomain
Group members: User1, User2, User3, TestGroup3, TestGroup4
(TestGroup4 contains another group called TestGroup5)
Total length = length(TestGroup2) + (length(TestDomain) + 1)
+ length(TestGroup3) + (length(TestDomain) + 1)
+ length(TestGroup4) + (length(TestDomain) + 1)
+ length(TestGroup5) + (length(TestDomain) + 1)
+ 4 + 2*4
Total length = 10 + 11
+ 10 + 11
+ 10 + 11
+ 10 + 11
+ 4 + 8
= 96 bytes
Ways to avoid hitting the limitation:
The best way to avoid hitting this limitation is to keep the length of each group name as short as possible.
Also, 32K is actually fairly hard to hit unless there are several groups with extremely long names (over 20 characters, for instance). As an example, this scenario would hit the limit:
Domain name: 10 characters long (which counts for 11 bytes added to each group name)
Number of groups and subgroups: 1000
Length of each group (in characters/bytes): 20
Total group length: (20 + 11) * 1000
+ 4 + 2*1000
= 33,004 bytes
Gruß
Oberon