s7 calls malloc very infrequently; it has its own malloc (mallocate and friends), calling malloc only to get large blocks that it handles after that. More likely to be a problem is garbage collection. I haven't tried to use s7 in real-time, but I would expect it to be a struggle.