shichao Posted September 10, 2018 Share Posted September 10, 2018 I use log::message record my app's data when i run it about 6 hours it stops. i found in WidgetConsole::puts line 393 line = &lines.append(); it causes heap rise. and when it allocs a large number of heap may cause my app stop. Link to comment
silent Posted September 10, 2018 Share Posted September 10, 2018 shichao, log::message() can cause big memory consumption, since it's not releasing resources and keep all the messages in engine console. If you need to do logging we recommend to use your own methods that will clear memory after printing (or print directly to file). Thanks! How to submit a good bug report --- FTP server for test scenes and user uploads: ftp://files.unigine.com user: upload password: 6xYkd6vLYWjpW6SN Link to comment
Recommended Posts