New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
tarmac-profile crashes on windows side for large Tarmac files #10
Comments
I'm sure it's possible to create a tarmac file large enough to exceed what tarmac-trace-utilities can cope with, but 1.5GB does not seem that big to me, and I believe I've successfully indexed files larger than this, but this was on Linux or MacOS platforms --- I have not tried Windows. Have you been able to index smaller tarmac traces ? Would you have a chance to use a linux build of the tarmac-trace-utilities on the very same 1.5GB tarmac trace to compare ? The problem could come from types like "int" having a different size on Windows vs Linux. |
I tried to index smaller files (<500MB) and that seems to work fine. I just tried the larger tarmac file on WSL and i get the same assertion failed error triggered from this line: https://github.com/ARM-software/tarmac-trace-utilities/blob/main/lib/calltree.cpp#L249 Do you want me to try it on a native Linux platform instead of WSL? |
Thanks for testing, I'll will try to reproduce on my end --- on a native Linux. |
I think the problem is the use of |
FWIW, I'm running this on MacOS, where |
I've pushed a patch (eb710a6) that improves large Tarmac file support. I would be very interested in getting feedback from the Windows / WSL platforms which I have no way to test. For the platforms I've been able to test (MacOS, Ubuntu), tarmac-trace-utilities happily deals with 5.8+G bytes Tarmac trace files. Switching |
Sorry for the delay, i will have a look into it in the upcoming days and get back to you |
Hi, i verified the patch and it's not crashing now in WSL. Thanks a lot for your support, perhaps you can merge these changes on the main branch? One another question, when the utility creates the index file, apparently the size of the index file is super large. For example, for ~2GB tarmac trace file, the generated index file is atleast ~12GB. Is this expected or am i missing some options? |
Thanks a lot four your feedback, I'll close this issue. You're not missing any magic option --- index files are large indeed unfortunately. |
I build the binaries on Windows using visual studio 2017 as mentioned and when i try to get the profile information for large tarmac trace files (>1.5GB), the tools crash during indexing and it refers me towards this line: https://github.com/ARM-software/tarmac-trace-utilities/blob/main/lib/calltree.cpp#L247
I would like to understand if there is a limitation on how big the trace file can be?
The text was updated successfully, but these errors were encountered: