I don’t think this is what brings you much benefit from the Stack Overflow query. The variability in defining the “base” and various servlet software versions will be much greater than the amount of effort required to verify this yourself.
Just create a "hello world" type servlet that has no fields, start your servlet container with this WAR and measure your memory usage. This will generally give you the overhead of the servlet container, which you can then subtract from your actual memory measurements when you see how “heavy” the target servlet is.
The numbers will be much more useful if you create yourself using the actual target version of the servlet container in the real system in question, than someone answering here saying "47MB" or the like.
source share