You can see for yourself by running (*s7* 'memory-usage), perhaps calling (gc) first. It does add some names and so forth to the *libc* environment, but I doubt it is significant. If you want just the regex functions, you can extract them from the file that libc.scm writes, libc_s7.c.