You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
There is a job failure because of oom in our test and its memory usage statistics is as follows:
We can see that VeloxBatchResizer uses most of the memory. I find that most of the columns of the table is variable length, like VARCHAR, ARRAR, MAP etc.
I find there is a method called maybeReserve in velox's MemoryPool. Maybe we can call this method in VeloxBatchResizer before calling the append method to try to allocate memory. If the process fails, then we don't append the batch. In this way, we need to do some code modification to make the memory allocation not to throw OutOfMemoryException.