There is a #define MAX_ASSETS at 4096, so I suppose that's the hard asset limit. I'll check if we can remove or double that limit.