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 2019/09/25 13:21:34 UTC
[GitHub] [incubator-doris] morningman opened a new issue #1877: View
instance takes too much memory
morningman opened a new issue #1877: View instance takes too much memory
URL: https://github.com/apache/incubator-doris/issues/1877
**Describe the bug**
A user create 120,000 views in Doris, and it took about 16GB!
View instance contains 2 strings of origin view statement, but one of them is useless.
The parsed QueryStmt object in View also takes too much memory.
So I will remove one of the origin view statement string.
And change the QueryStmt object as a soft reference, which can be cleared if JVM memory is
not enough.
----------------------------------------------------------------
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
With regards,
Apache Git Services
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@doris.apache.org
For additional commands, e-mail: commits-help@doris.apache.org