Generating Symbol Table: Maximum Number of Child Elements limit (50000) Exceeded

Issue #252 resolved
Scott Wells repo owner created an issue

User hit an issue generating the OST in an org where a batch of 100 SObjects could have more than 50K custom fields resulting in this error.

Comments (5)

  1. Scott Wells reporter

    Attaching a test build with a prospective fix for this issue. Please enable debug logging in this area by adding the following line to Help>Configure Debug Log Settings:

    #com.illuminatedcloud.symtab.OfflineSymbolTable
    

    I'd like to see the logs whether it succeeds or fails just to review some of the metrics around this operation in such a large org. Obviously feel free to scrub the logs as appropriate and to send them via private email if you'd prefer.

  2. Chris Peterson

    Hey, it worked! Although I did commit the crime of not enabling the enhanced debug logs before building the symbol table. I'll do that and rebuild it sometime this weekend (it took well over an hour for the full generation though, not doing it again today!).

  3. Scott Wells reporter

    Glad to hear it generated okay! Yeah, obviously when you have some down-time, go ahead and enable debugging and rebuild it. That's obviously a huge org, and I'll be interested to see where the time is being spent during generation.

  4. Log in to comment