Add support for runing capture as long as disk space allows
Hi, we have the need of capturing the traces as long as our app is running which could be as long as 8 hours. Right now Tracy's capture app stores the captured data in Worker's m_data. With time passes, the size increases which eventually will fill up the allocated memory. This makes running the capture app for a long period time like 8 hours impractical with limited RAM size.
Is it easy to add the support to offload the stored data into a fast enough disk while capturing, to keep the RAM use bounded so we could capture long range of traces?
Thanks a lot !
The intended way to deal with this is to enable a swap file large enough for your needs.
Thx for the response ! - I saw that in the manual. That gives me the best direction of moving forward. One related question I have is: what is the reasonable/recommended size limit of the trace file Tracy-release can handle? If I manage to record a 4GB tracy file, it should have no problem to be used in Tracy-release?
I don't know. There are no fundamental problems that would make it impossible to process such a large amount of data.
thx - close this issue - great tool !