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:
[email protected]



---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to