You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@doris.apache.org by GitBox <gi...@apache.org> on 2021/05/21 11:04:40 UTC

[GitHub] [incubator-doris] stdpain opened a new issue #5874: [BUG] Stream Load Cost Too Much Memory When Call Function

stdpain opened a new issue #5874:
URL: https://github.com/apache/incubator-doris/issues/5874


   **Describe the bug**
   
   **To Reproduce**
   Steps to reproduce the behavior:
   1. create a table
   2. use stream load and execute Expr Function such as cast to String or String Functions
   
   
   Here was the Memory Cost Profile:
   ```
   Dumping heap profile to /tmp/heap.dump.0001.heap (113 MB currently in use)
   Dumping heap profile to /tmp/heap.dump.0002.heap (1615 MB allocated cumulatively, 159 MB currently in use)
   Dumping heap profile to /tmp/heap.dump.0003.heap (2639 MB allocated cumulatively, 227 MB currently in use)
   Dumping heap profile to /tmp/heap.dump.0004.heap (3717 MB allocated cumulatively, 394 MB currently in use)
   ```
   
   ** how to fix it ? **
   call free local alloced after load data
   
   Here was the Memory Cost Profile:
   ```
   Dumping heap profile to /tmp/heap.dump.0001.heap (1024 MB allocated cumulatively, 78 MB currently in use)
   Dumping heap profile to /tmp/heap.dump.0002.heap (2048 MB allocated cumulatively, 79 MB currently in use)
   Dumping heap profile to /tmp/heap.dump.0003.heap (3072 MB allocated cumulatively, 79 MB currently in use)
   Dumping heap profile to /tmp/heap.dump.0004.heap (4096 MB allocated cumulatively, 79 MB currently in use)
   Dumping heap profile to /tmp/heap.dump.0005.heap (5120 MB allocated cumulatively, 80 MB currently in use)
   Dumping heap profile to /tmp/heap.dump.0006.heap (6144 MB allocated cumulatively, 80 MB currently in use)
   Dumping heap profile to /tmp/heap.dump.0007.heap (7168 MB allocated cumulatively, 80 MB currently in use)
   Dumping heap profile to /tmp/heap.dump.0008.heap (8192 MB allocated cumulatively, 80 MB currently in use)
   Dumping heap profile to /tmp/heap.dump.0009.heap (9216 MB allocated cumulatively, 80 MB currently in use)
   Dumping heap profile to /tmp/heap.dump.0010.heap (10240 MB allocated cumulatively, 80 MB currently in use)
   ```
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@doris.apache.org
For additional commands, e-mail: commits-help@doris.apache.org


[GitHub] [incubator-doris] morningman closed issue #5874: [BUG] Stream Load Cost Too Much Memory When Call Function

Posted by GitBox <gi...@apache.org>.
morningman closed issue #5874:
URL: https://github.com/apache/incubator-doris/issues/5874


   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@doris.apache.org
For additional commands, e-mail: commits-help@doris.apache.org