The Altair Community is migrating to a new platform to provide a better experience for you. In preparation for the migration, the Altair Community is on read-only mode from October 28 - November 6, 2024. Technical support via cases will continue to work as is. For any urgent requests from Students/Faculty members, please submit the form linked here
main memory limit reached message and restarting the application
I'm running the free version of RM Studio on a linux machine (and adding cloud when the capacity is insufficient).
When I'm running largish data sets (about 2M records), after a few runs I get the message: Main Memory Limit Reached, with an encouragement to upgrade.
Yet, if I close the RM application and restart, the process runs just fine.
What's happening here? What can I do to prevent it?
When I'm running largish data sets (about 2M records), after a few runs I get the message: Main Memory Limit Reached, with an encouragement to upgrade.
Yet, if I close the RM application and restart, the process runs just fine.
What's happening here? What can I do to prevent it?
0
Best Answer
-
User13 Member Posts: 155 MavenHi John,
this may happen when your process requires an amount of memory which is very close to your maximum memory limit. After a few runs Java may not clean up every entity in memory causing or memory controller to launch the upgrade notification. You may try to force a garbage collection by using the "Free Memory" operator as the first operator of your process.
Cheers,
Helge1
Answers
Is there a plan or timeline to systematically correct the Java garbage collection?
I think the problem here is that our upgrade notification can sometimes be activated before the Java GC frees additional memory. There are only those processes affected that use almost the maximum available memory. In those case the "Free Memory" operator can help. I think we will investigate this and maybe try to fine tune this a bit in order to avoid false notifications.
Cheers,
Helge