View Issue Details
| ID | Project | Category | View Status | Date Submitted | Last Update |
|---|---|---|---|---|---|
| 0002193 | NoesisGUI | C++ SDK | public | 2021-11-17 13:16 | 2022-01-10 13:55 |
| Reporter | ext.smichalak | Assigned To | jsantos | ||
| Priority | normal | Severity | tweak | ||
| Status | resolved | Resolution | fixed | ||
| Product Version | 3.1 | ||||
| Target Version | 3.1 | Fixed in Version | 3.1.2 | ||
| Summary | 0002193: Reducing memory allocation without shutting down Noesis | ||||
| Description | As we discussed in this forum thread: https://www.noesisengine.com/forums/viewtopic.php?f=3&t=2474&p=13573#p13573, we should investigate more how we could reduce the memory allocation without fully shutting down Noesis and being able to "restart" the rest of the components, dependencies, etc. As mentioned earlier, that's the current memory allocation in our case during shutdown steps: [code] The above values were tested on Windows in Unreal Editor. We're looking into reducing that 2.7MB to as little as possible. | ||||
| Steps To Reproduce | Cleaning up as much memory as possible without calling | ||||
| Platform | Any | ||||
|
Thanks for this, there are many small tasks to be solved with this ticket:
|
|
|
A few improvements added in r11039. These are the number I have right now (important you should at least measure this invoking UI::DisableInspector before UI::Init(), but in general you shouldn't release apps in profile configuration). Uninstalling everything from IntegrationAPI (removing providers, removing resource dictionary), before UI::Shutdown() we have: This memory mostly belongs to Reflection + Symbols cannot be unloaded, at least without heavy modifications that we cannot apply on 3.1. Boxing and Factory could be unloaded, but probably not in 3.1 because I think we need a better API for Init and Shutdown |
|
|
Thank you @jsantos for the work and thorough answer. Feel free to close this ticket, once we're able to get back to that topic and something is unclear, we're going to let you know. Thanks again! |
|
|
Closing this and leaving 0002232 as related Thank you for your feedback! |
|
| Date Modified | Username | Field | Change |
|---|---|---|---|
| 2021-11-17 13:16 | ext.smichalak | New Issue | |
| 2021-11-17 13:32 | jsantos | Target Version | => 3.1.2 |
| 2021-11-17 16:31 | jsantos | Assigned To | => jsantos |
| 2021-11-17 16:31 | jsantos | Status | new => assigned |
| 2021-11-17 16:35 | jsantos | Note Added: 0007581 | |
| 2021-12-15 21:14 | jsantos | Target Version | 3.1.2 => 3.1 |
| 2021-12-15 21:21 | jsantos | Note Added: 0007678 | |
| 2021-12-15 21:21 | jsantos | Note Edited: 0007678 | |
| 2021-12-17 21:14 | ext.smichalak | Note Added: 0007685 | |
| 2021-12-17 21:16 | jsantos | Note Edited: 0007678 | |
| 2022-01-10 13:53 | jsantos | Relationship added | related to 0002232 |
| 2022-01-10 13:54 | jsantos | Status | assigned => resolved |
| 2022-01-10 13:54 | jsantos | Resolution | open => fixed |
| 2022-01-10 13:54 | jsantos | Note Added: 0007719 | |
| 2022-01-10 13:54 | jsantos | Fixed in Version | => 3.1.2 |
| 2022-01-10 13:55 | jsantos | Note Edited: 0007719 |