scanblock is part of the garbage collection mechanism. It is natural
that part of it is shown on the profile. If it becomes very large you
can improve the situation by allocating less memory (the heap
profiling can show you what parts of your code alocate a lot).
Rémy.