[ 
https://issues.apache.org/jira/browse/IMPALA-6288?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Michael Smith closed IMPALA-6288.
---------------------------------
    Resolution: Not A Problem

> Impala C++ test libraries are surprisingly large
> ------------------------------------------------
>
>                 Key: IMPALA-6288
>                 URL: https://issues.apache.org/jira/browse/IMPALA-6288
>             Project: IMPALA
>          Issue Type: Task
>          Components: Infrastructure
>            Reporter: Philip Martin
>            Priority: Major
>
> The C++ tests are 60MB or so each.
> {code}
> $ls -l build/debug/rpc/*-test
> -rwxrwxr-x 1 philip philip 60492088 Nov  6 17:11 
> build/debug/rpc/authentication-test*
> -rwxrwxr-x 1 philip philip 61593808 Nov  6 17:11 build/debug/rpc/rpc-mgr-test*
> -rwxrwxr-x 1 philip philip 63047936 Nov  6 17:11 
> build/debug/rpc/thrift-server-test*
> -rwxrwxr-x 1 philip philip 60489200 Nov  6 17:11 
> build/debug/rpc/thrift-util-test*
> {code}
> I don't have a super clear picture of what's going on, but I think we might 
> be statically linking against LLVM even when we try to link dynamically. 
> Using {{nm}} to look at symbols, I can see that about 24MB (of 62MB) is used 
> by llvm-looking things. 
> {code}
> $ nm --demangle --print-size --size-sort --radix=d util/lru-cache-test  | 
> sort -k 2 -n | grep llvm:: | awk '{ x += $2 } END { print x }'
> 23691589
> {code}



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-all-unsubscr...@impala.apache.org
For additional commands, e-mail: issues-all-h...@impala.apache.org

Reply via email to