@a_i, good news is thats out of date, with OS 3.0 , they said there is now room for 9000…
so you can hold off the soldering iron for a bit longer.
I was simplifying the answer to make it appropriate, I suspect the original poster wasn’t planning on desoldering/soldering chips!
Id also suspect there aren’t many here that can desolder and solder SMD chips.
and, even if they could, we don’t have the source code to alter and recompile the software to allow for more sdram. (memory is not “auto” configured on a stm32f4)
(are you even able to replace the sdram chip for a bigger one, without pcb changes?)
also although squarp have said memory is a limiting factor, we don’t have the details, is it only sdram, they could also have issues with on-chip ram. (also possibly flash, but thats not related to the number of events, rather code size)