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
Not recording session #90
Comments
Hi. Looks like you exit your application a bit too early while Optick is still transferring data over the network. Could you try to keep your application alive until the capture is fully copmleted? |
Hiya, I've tried keeping the application running and stopped the the profiling session. Out of the 10 times I've tried I managed to get 1 successful record, however the other times it freezes at the 'capuring frame --' part when I press stop profiling session button. My application also freezes and does not respond. How long does the transfering usually last. I've tried waiting around 30-40 seconds. Thanks for the response! edit:: I was wondering if there is an option to record a session without using the GUI to start and stop, but a session is recorded automatically when the application is run and then closed. Maybe if that saves the session data under a folder I could then open it on the optick GUI application to take a look. |
How much RAM do you have? Optick requires at least 2-3GB of RAM for large captures, so you'll need at least 8GB of RAM on your machine. To do furhter analysis: could you please try ConsoleApp.exe sample which is included in the release package to see whether it works or not?
It depends on the size of the capture and some other factors. It is usually around 30Mb/sec.
Yes, this feature is scheduled for the next milestone: #23. ETA is about 2 weeks. |
Hiya, thank you again so much for your response. I tried it on the sample projects and it worked like a charm, so I decided to remove everything reinstall, compile and add to my project. Now it is working beautifully. I think it was the way I was trying to add it to my project since I was a little confused with how to start using it. I had initially added the optickcore project into my solution and then made a reference to that. I now just realised all I have to do is dynamically link the optick dll with my solution and run it then run the gui application. My apologies for any time wasted. Also, looking forward to the new feature :) |
Cool |
- Embedding miniz library for capture compression - Adding support for general application profiling Optick now can operate without GUI and save captures directly to the provided path.
Attachments: [OptickApp.png]
Once I have the app running and then click start profiling session, optick begins to capture frames. Then when I want to stop, there is a red sqaure icon, but it says start profiling session still and not 'stop'.
Then once I've clicked that and exited the app, optick is sat in this same place. Even if I save the session, close optick and reopen that session there is nothing there.
I've tried recording a session a few times now, but I always get stuck here. Is there something I am missing?
quick edit: This is when I have my project added to the Optick_vs2017 GUI solution and added a reference to the Optick c# project. I my project from that solution and then have a separate Optick application from 'optick-master\bin\vs2017\x64\Debug' that is what I start the profiling from.
The text was updated successfully, but these errors were encountered: