**Describe the bug**
`SELECT i FROM generateRandom('i Array(Int8)', 1048575, 10, 1048577) LIMIT 1048575`

Memory limit should be respected.
{
        metric = metric_;
    }
    void setDescription(const char * description)
    {
        description_ptr.store(description, std::memory_order_relaxed);
    }
    
    void resetCounters();
    
    void reset();
    
    void set(Int64 to);
    
    void logPeakMemoryUsage() const;
    
    DB::SimpleActionBlocker blocker;
};
extern MemoryTracker total_memory_tracker;
namespace CurrentMemoryTracker
{
    void alloc(Int64 size);
    void realloc(Int64 old_size, Int64 new_size);
    void free(Int64 size);
}
DB::SimpleActionLock getCurrentMemoryTrackerActionLock();