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
Increasing Allocated Memory oF AI HUB via RapidMiner Deployment Administration
Hi nice people of RM;
After hours and days I could connected my RM Studio to VM in Azure with 64gb RAM and 8 core CPU. And excited to run more complex tasks.
But an awkward issue is only step ahead on me editing .env file via RapidMiner Deployment Administration. Default numbers are like these: SERVER_MAX_MEMORY=2048M and JOBAGENT_CONTAINER_MEMORYLIMIT=8192
I am trying to edit .env file to increase memory limit but each time I got "Invalid Configration" error. I am trying to type:
SERVER_MAX_MEMORY=8192M
JOBAGENT_CONTAINER_MEMORYLIMIT=16384
Also Even tho I just delete a "#" sign from .env file or just copied everything in it and paste as like that still same error occurs.
thanks in advance, your name will be in the history of science, I promise
After hours and days I could connected my RM Studio to VM in Azure with 64gb RAM and 8 core CPU. And excited to run more complex tasks.
But an awkward issue is only step ahead on me editing .env file via RapidMiner Deployment Administration. Default numbers are like these: SERVER_MAX_MEMORY=2048M and JOBAGENT_CONTAINER_MEMORYLIMIT=8192
I am trying to edit .env file to increase memory limit but each time I got "Invalid Configration" error. I am trying to type:
SERVER_MAX_MEMORY=8192M
JOBAGENT_CONTAINER_MEMORYLIMIT=16384
Also Even tho I just delete a "#" sign from .env file or just copied everything in it and paste as like that still same error occurs.
thanks in advance, your name will be in the history of science, I promise
0
Answers
The configuration depends on your license, not on the amount of memory you can stuff in your server.
So assume you have a license allowing you to run 64G in total, and you want to be able to run 4 processes in parallel (job agents) your env file would be like 2 GB for your server and ((64 total -2 already taken /4 agents )) so like 15.5G per agent.
Any combination that exceeds your license total will show the cruel configuration error. So stick to 2048 for the server, and just increase the agent alocation (based on total number) until you get the error.
You could create different queues, so your default may have 4 agents, another queue may have 2 agents and your memory can than be twice as high per agent, and another one can for instance have just one agent and you give it the full 62G.
As long as you run just one queue at the same time this is within the license logic.
Yes, my licance allows me to have 64gb. And I want to run only one process
I already tried to many ways to edit env even reduce the JOBAGENT_CONTAINER_MEMORYLIMIT but I cannot change anything in there.
.env file is some how protected I guess.
Sharan_Gadi described at below:
https://community.rapidminer.com/discussion/56411/how-can-i-change-the-maximum-memory-setting-for-rm-server-on-azure
But it would be much more better if you have any easier way to do that.
Not sure about the correct path but one of the files contains the settings of your default queue. It's this file that mentions how many agents it will run (change to 1 in your scenario) and set the allocated memory.