From tonight's build - 2.6 b642 or later - additional memory management features have been added:
- the Memory tool (Settings > Advanced > Diagnose memory use - for advanced use only) has additional tools to monitor and free up memory that would otherwise only be reclaimed when memory was low
- the Diagnostics scheduler action has the equivalent tools and further diagnostic output
- on closing a file in Omniscope, extra effort is expended in freeing memory
- also, various memory leaks introduced in 2.6 have been fixed in the last few releases.
I am currently using the 32-bit and the 64 bit versions of Omniscope in parallel. I remove the memory cap in the installconfig.properties when I switch to the 64 bit version, but I have seen that this version never releases memory, even if I close a file and I clean all the DataManager. This is a problem as I am often working with big files.
I've tried to use the Garbage collector of the memory tool, but this has no effect (the % of free memory showed in the task manager doesn't change). Therefore normally I have to save my job, close and restart Omniscope. Is there any possibility to avoid this?
Should I simply change the configuration "-XX:+UseSerialGC" even if I am using the 2 versions in parallel?
Do you have any other tips with regard to avoiding the memory's peak with big files?
It should be OK to use the XX option in both versions. Make sure you are using the latest build.
After all this, if Omniscope is still retaining memory when it should not be, open "Settings > Advanced > Diagnose memory use" and press all "clear" buttons followed by "gc". Does "used" in this dialog drop to a reasonable level (<50mb if on welcome screen, somewhat more depending on currently open data if a file is open)? Does Omniscope now release memory to the operating system?<br />
You only need to update wrapper.conf if you are using the windows service. The file is in your installation folder inside the service subfolder. For example: C:\Users\Your Name\AppData\Local\Visokio Omniscope app\service\wrapper.conf