Is there a "too much" of common events?

Just a general question:

Can there be too many common events?
I mean, if you build in hundreds of extremely complicated events - thats a problem - obviously.
But if you make like 100 short common events instead of 10 long ones.

I like to have things organized so that I can see stuff directly from the first quick look. So I want to make many smaller parts of common events as a new common event and then just load them in (for example for my map I have an event that handles the map generally, and a 2nd one that detects and shows the exact location on the map).

Can there be too many, not in complexity but simply in amount?

(I just heard that some older engines might have issues for example with showing too many different images - even if the images themself are very small)
There's no real processing difference between the interpreter running a map event and running a common event, so not really. One thing to be aware of though is that common events run in a child interpreter and each time you call a common event from a common event it spins up another child, so make sure you don't nest them in such a way that they're doing too many recursive calls or you'll overflow the stack.
Every single common event is always loaded into memory because they could be in theory, called at any time, any place. You would need a LOT of common events to cause a significant memory footprint but that's something to keep in mind. (this is unconfirmed rumors I hear but) large databases supposedly also increase your risk of having your RPGmaker editor crash randomly

If you have many small common events and none of them have redundant code that can be further consolidated, this is probably a good thing and a sign that a dev knows how to maximize the value of that feature.
Every single common event is always loaded into memory because they could be in theory, called at any time, any place. You would need a LOT of common events to cause a significant memory footprint but that's something to keep in mind. (this is unconfirmed rumors I hear but) large databases supposedly also increase your risk of having your RPGmaker editor crash randomly

If you have many small common events and none of them have redundant code that can be further consolidated, this is probably a good thing and a sign that a dev knows how to maximize the value of that feature.
The JSON structure of all common events is loaded into memory as part of $dataCommonEvents, but the overhead on that is pretty small as JSON data is pretty compact.
(this is unconfirmed rumors I hear but) large databases supposedly also increase your risk of having your RPGmaker editor crash randomly
I haven't seen/heard that. The only person I've seen complaining about something like that had a common event that was somehow over 7,200 lines long - I don't know how they were able to enter that into the event, so it's no surprise it crashed the software.
7200 lines sounds very little. Try testing it out. One way would be to create an event command that adds 1 to a variable. You can copy+paste that over and over again. Have a Show Message at the bottom which displays the value.

For example: In VX Ace the editor started slowing down at about half a million event commands. I stopped at 1.5 million event commands since the slow down got too annoying. No crash nor issue starting the game.
7200 lines sounds very little.
I don't know what your point of comparison is, in terms of functional events, but that's kind of bonkers. 🤣

As I pointed out in the thread about that event, the largest plugin I have is Yanfly's Battle Engine Core, which has less than 4,500 lines of code.

There's no reason a single common event should be getting anywhere near that length - if it rivals that kind of complexity, it should be getting broken up into other events, just like code does with functions. And, really, at that point it should be way more efficient to code whatever you're doing in a plugin.

But all of this is really a tangent to the point I made, which is that I've never seen any evidence that just having a large database from having a large number of events can cause instability in the editor.
7200 lines sounds very little.
It very much isn't little at all. That just screams "poorly coded!".
For 7200 lines I'd expect something that overwrites large parts of the engine to make the game function differently. The only plugin I have like that is ChronoEngine which is 11,000 lines of code.
One thing that I have noticed is that if you find that you need more common events during development, increasing the maximum number of common events can have a funny effect on old saves (by that I mean the old saves only seem to have partial compatibility with the changed database). Currently, I am only using 34 common events, and only expect to increase the number by a few, though.

Original thread: https://forums.rpgmakerweb.com/threads/is-there-a-too-much-of-common-events.164948/